首页展示秒杀商品,楼层装修页面调整

This commit is contained in:
mabo
2021-08-02 18:13:08 +08:00
parent 8cec0e6ab8
commit 8d6ee03d88
12 changed files with 777 additions and 429 deletions

View File

@@ -68,6 +68,10 @@ export default {
nowHour: new Date().getHours() // 当前小时数
}
},
beforeDestroy () {
// 销毁前清除定时器
clearInterval(this.interval);
},
watch: {
currIndex (val) {
clearInterval(this.interval)