xiongzhu 4 tahun lalu
induk
melakukan
423f573cd9
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/mixins/product.js

+ 1 - 1
src/mixins/product.js

@@ -93,7 +93,7 @@ export default {
                 clearTimeout(this.timer);
                 clearTimeout(this.timer);
                 this.timer = null;
                 this.timer = null;
             }
             }
-            if (!this.dayjs().isBefore(this.dayjs(startTime))) {
+            if (!this.dayjs().isBefore(this.dayjs(startTime, 'YYYY-MM-DD HH:mm:ss'))) {
                 if (this.getProduct) {
                 if (this.getProduct) {
                     this.getProduct();
                     this.getProduct();
                 }
                 }