wangcz 7 years ago
parent
commit
158f91a940

+ 4 - 4
pages/mobile/center/vendor/index.vue

@@ -20,10 +20,10 @@
             <img src="/images/mobile/center/vendor/material-person.png" alt="">
             <p>出入库</p>
           </nuxt-link>
-          <nuxt-link tag="li" to="/mobile/center/vendor/product?providerType=onLine">
-            <img src="/images/mobile/center/vendor/onsale.png" alt="">
-            <p>在售产品</p>
-          </nuxt-link>
+          <!--<nuxt-link tag="li" to="/mobile/center/vendor/product?providerType=onLine">-->
+            <!--<img src="/images/mobile/center/vendor/onsale.png" alt="">-->
+            <!--<p>在售产品</p>-->
+          <!--</nuxt-link>-->
         </ul>
       </div>
       <div class="block-wrap seek-operation">

+ 6 - 4
pages/mobile/center/vendor/outOfStorage/index.vue

@@ -110,10 +110,12 @@
       'storageData': {
         handler: function (val) {
           if (val && val.content) {
-            this.storageList = val.content
-            this.isChange = false
+            if(this.isChange){
+              this.storageList = val.content
+              this.isChange = false
+            }
+            this.storageList = [...this.storageList, ...val.content]
           }
-          this.storageList = [...this.storageList, ...val.content]
         }
       }
     },
@@ -128,7 +130,7 @@
         return this.allStorageData.fetching
       },
       allPage () {
-        return this.allStorageData.totalPages
+        return this.storageData.totalPages
       },
       isEmpty () {
         return this.storageList.length === 0