this修改

This commit is contained in:
nisen
2023-11-08 10:12:29 +08:00
parent 56c4d3f9a9
commit 9d29d08106
2 changed files with 2 additions and 2 deletions

View File

@@ -295,7 +295,7 @@ export default {
status: 1 //状态直接写1 status: 1 //状态直接写1
} }
this.setTime = setTimeout(()=>{ this.setTime = setTimeout(()=>{
$this.$store.dispatch("userTrigger", event); this.$store.dispatch("userTrigger", event);
if(this.cumulativeDuration<=this.defaultMaxTime){ if(this.cumulativeDuration<=this.defaultMaxTime){
this.sendEventData() this.sendEventData()
}else{ }else{

View File

@@ -333,7 +333,7 @@ export default {
if (xmlhttp.status == 200) { if (xmlhttp.status == 200) {
clearTimeout(timer); clearTimeout(timer);
$this.Internet = 1; $this.Internet = 1;
this.$store.dispatch("userTrigger", { $this.$store.dispatch("userTrigger", {
key: "ViewCase",//后台的事件key 发布文章且审核通过 key: "ViewCase",//后台的事件key 发布文章且审核通过
title: '查看案例',//事件的标题 title: '查看案例',//事件的标题
parameters: "",//用户自定义参数 name:value,name:value parameters: "",//用户自定义参数 name:value,name:value