mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 17:05:54 +08:00
首页展示秒杀商品,楼层装修页面调整
This commit is contained in:
@@ -68,6 +68,10 @@ export default {
|
||||
nowHour: new Date().getHours() // 当前小时数
|
||||
}
|
||||
},
|
||||
beforeDestroy () {
|
||||
// 销毁前清除定时器
|
||||
clearInterval(this.interval);
|
||||
},
|
||||
watch: {
|
||||
currIndex (val) {
|
||||
clearInterval(this.interval)
|
||||
|
||||
Reference in New Issue
Block a user