删除定时任务

cyl/master-0804
zsk 4 months ago
parent b58ff5c109
commit 7842ab167e

@ -69,7 +69,13 @@ export default {
// that.initWyyx()
}
},
onHide: function () {},
onHide: function () {
if (this.globalData.timer) {
clearInterval(this.globalData.timer);
this.globalData.timer = null;
console.log("定时任务已清除");
}
},
methods: {
initWyyx() {
let that = this;

Loading…
Cancel
Save