mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
个人主页接口对接
This commit is contained in:
@@ -232,9 +232,9 @@ export default {
|
||||
);
|
||||
let event = {
|
||||
key: "ViewCase",//后台的事件key 发布文章且审核通过
|
||||
title: "阅读案例",//事件的标题
|
||||
title: this.caseDetail.title,//事件的标题
|
||||
parameters:"",//用户自定义参数 name:value,name:value
|
||||
content: "打开案例事",//事件的内容
|
||||
content: this.caseDetail.summary,//事件的内容
|
||||
objId: this.resolveId,//关联的id
|
||||
objType: "3",//关联的类型
|
||||
objInfo: "案例",
|
||||
@@ -245,8 +245,8 @@ export default {
|
||||
this.$store.dispatch("userTrigger", event);
|
||||
this.setTimeCase = setTimeout(()=>{
|
||||
event.key = 'ReadCase';
|
||||
event.title = '阅读案例(大于等于3分钟)';
|
||||
event.content = '打开案例详细页面,案例内容加载成功后,停留时间达到3分钟时触发';
|
||||
event.title = this.caseDetail.title;
|
||||
event.content = this.caseDetail.summary;
|
||||
this.$store.dispatch("userTrigger", event);
|
||||
},1000 * 60 *3)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user