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:
@@ -230,12 +230,12 @@ export default {
|
||||
this.getAuthorInfo(this.articleDetailData)
|
||||
let event = {
|
||||
key: "ViewArticle",//后台的事件key 发布文章且审核通过
|
||||
title: "阅读文章事件",//事件的标题
|
||||
title: "查看文章",//事件的标题
|
||||
parameters:"",//用户自定义参数 name:value,name:value
|
||||
content: this.articleDetailData.title,//事件的内容
|
||||
content: "查看了文章",//事件的内容
|
||||
objId: this.articleId,//关联的id
|
||||
objType: "2",//关联的类型
|
||||
objInfo: "文章",
|
||||
objInfo: this.articleDetailData.title,
|
||||
aid: this.userInfo.aid, //当前登录人的id
|
||||
aname: this.userInfo.name,//当前人的姓名
|
||||
status: 1 //状态,直接写1
|
||||
@@ -243,7 +243,8 @@ export default {
|
||||
this.$store.dispatch("userTrigger", event);
|
||||
this.setTime = setTimeout(()=>{
|
||||
event.key = 'ReadArticle';
|
||||
event.title = this.articleDetailData.title;
|
||||
event.title = "阅读文章";
|
||||
event.content = "阅读了文章"
|
||||
this.$store.dispatch("userTrigger", event);
|
||||
},1000 * 60 *2)
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user