Browse Source

修复单品tab刷新bug

xiaohaizhao 1 year ago
parent
commit
bf1c9e498a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      pages/index/cloud/product.vue

+ 3 - 1
pages/index/cloud/product.vue

@@ -118,7 +118,9 @@ export default {
             this.tabs3 = [];
             this.tabs3Active = 0;
 
-            return this.getList(true);
+            return new Promise((resolve, reject) => {
+                this.getList(true).then(res => resolve())
+            });
         },
         changeClass2(index) {
             let item = this.tabs2[index];