소스 검색

产权交易倒计时

rongxin_prod
庞东旭 1 년 전
부모
커밋
3911ecd8b8
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      src/views/project/projectDetail.vue

+ 3
- 0
src/views/project/projectDetail.vue 파일 보기

@@ -1007,14 +1007,17 @@ export default {
destroyed () {
console.log('bbbbbbbbbb')
clearInterval(this.timer);
clearInterval(this.timeCount);
},
beforeDestory() {
clearInterval(this.timer)
clearInterval(this.timeCount);
},
//离开页面清除定时器失效问题
beforeRouteLeave(to, from, next) {
console.log("我离开了")
clearInterval(this.timer)
clearInterval(this.timeCount);
this.time = null;
next()
}


불러오는 중...
취소
저장