Explorar o código

Merge branch 'master' of http://git.izouma.com/xiongzhu/9th

xuqiang %!s(int64=4) %!d(string=hai) anos
pai
achega
381aa129ab
Modificáronse 1 ficheiros con 7 adicións e 5 borrados
  1. 7 5
      src/main/nine-space/src/views/Store.vue

+ 7 - 5
src/main/nine-space/src/views/Store.vue

@@ -256,11 +256,13 @@ export default {
         changeActive(active) {
             this.active = active;
             this.loading = true;
-            this.$nextTick(() => {
-                this.type = this.typeOptions[0].type;
-            });
-            this.page = 0;
-            this.getList();
+            setTimeout(() => {
+                this.$nextTick(() => {
+                    this.type = this.typeOptions[0].type;
+                    this.page = 0;
+                    this.getList();
+                });
+            }, 100);
         },
         changeTab() {
             if (this.active !== 'coupon') {