浏览代码

产权交易问题修改

rongxin_prod
庞东旭 2 年前
父节点
当前提交
440fa88018
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      src/views/project/projectDetail.vue

+ 3
- 2
src/views/project/projectDetail.vue 查看文件

@@ -272,7 +272,7 @@ export default {
process:"", process:"",
tip:"", tip:"",
btnMsg:"", btnMsg:"",
time:10000,
time:null,
timeMsg:"", timeMsg:"",
isSignup:false, isSignup:false,
showBtn:false, showBtn:false,
@@ -947,9 +947,10 @@ export default {
clearInterval(this.timer) clearInterval(this.timer)
}, },
//离开页面清除定时器失效问题 //离开页面清除定时器失效问题
beforeRouteLeave (to, from, next) {
beforeRouteLeave(to, from, next) {
console.log("我离开了") console.log("我离开了")
clearInterval(this.timer) clearInterval(this.timer)
this.time = null;
next() next()
} }
}; };


正在加载...
取消
保存