修改个人主页样式问题

This commit is contained in:
daihh
2022-10-23 12:18:19 +08:00
parent 50a127f0b1
commit ed40682db3
4 changed files with 19 additions and 9 deletions

View File

@@ -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,