mounted{
this.divPageNum=0;
this.setTime();
},
beforeDestory(){
clearInterval(this.clearTime);
},
methods:{
setTime(){
this.clerTimeSet=setInterval(()=>{
window.close();
},1000);
},
clearTime(){
clearInterval(this.clearTimeSet);
}
}
mounted{
this.divPageNum=0;
this.setTime();
},
beforeDestory(){
clearInterval(this.clearTime);
},
methods:{
setTime(){
this.clerTimeSet=setInterval(()=>{
window.close();
},1000);
},
clearTime(){
clearInterval(this.clearTimeSet);
}
}