Explorar el Código

产权交易问题修改

rongxin_prod
庞东旭 hace 1 año
padre
commit
440fa88018
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. +3
    -2
      src/views/project/projectDetail.vue

+ 3
- 2
src/views/project/projectDetail.vue Ver fichero

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


Cargando…
Cancelar
Guardar