mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-21 00:36:44 +08:00
修改个人主页样式问题
This commit is contained in:
@@ -97,15 +97,25 @@
|
||||
return
|
||||
}
|
||||
this.checkboxGroup.forEach(item=>{
|
||||
data.push({
|
||||
type:1,
|
||||
refId:item
|
||||
})
|
||||
data.push({ type:1, refId:item });
|
||||
})
|
||||
apiUserhobby.save(data).then(res=>{
|
||||
if(res.status == 200) {
|
||||
this.interestCollection = false;
|
||||
const h = this.$createElement;
|
||||
let event = {
|
||||
key: "FinishHobby",//分享
|
||||
title: "设置兴趣爱好",//分享
|
||||
parameters:"",//内容的作者
|
||||
content: '设置兴趣爱好',//事件的内容
|
||||
objId: '1234567890123456789',//此项关联的id是没有的,需要写成固定的值
|
||||
objType: '70',//关联的类型
|
||||
objInfo: '设置兴趣爱好',
|
||||
aid: this.userInfo.aid, //当前登录人的id
|
||||
aname: this.userInfo.name,//当前人的姓名
|
||||
status: 1 //状态,直接写1
|
||||
}
|
||||
this.$store.dispatch("userTrigger", event);
|
||||
this.$message({
|
||||
type: 'success',
|
||||
dangerouslyUseHTMLString: true,
|
||||
|
||||
Reference in New Issue
Block a user