getTime() {
let timer = setTimeout(() => {
this.time = tools_time.getDate();
console.log(this.time);
this.getTime();
}, 1000);
this.$once("hook:beforeDestroy", () => {
clearTimeout(timer);
});
},






网友评论