瀏覽代碼

修复单品tab刷新bug

xiaohaizhao 1 年之前
父節點
當前提交
bf1c9e498a
共有 1 個文件被更改,包括 3 次插入1 次删除
  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];