diff --git a/pages/qianggou/productDetails.vue b/pages/qianggou/productDetails.vue index d896081..1780633 100644 --- a/pages/qianggou/productDetails.vue +++ b/pages/qianggou/productDetails.vue @@ -84,6 +84,15 @@ export default { this.getDetailsHandle(params.id); }, + watch:{ + secondNum(val){ + if(val<=0){ + clearImmediate(this.timer) + this.timer = null; + this.isDeadLine = true; + } + } + }, beforeDestroy(){ clearImmediate(this.timer) this.timer = null; diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html index e5812a5..502de72 100644 --- a/unpackage/dist/build/h5/index.html +++ b/unpackage/dist/build/h5/index.html @@ -1,2 +1,2 @@