Przeglądaj źródła

采购页优化

shish 1 rok temu
rodzic
commit
a0c08b1c25
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      hdApp/src/pagesPurchase/shopping.vue

+ 4 - 0
hdApp/src/pagesPurchase/shopping.vue

@@ -130,6 +130,10 @@ export default {
 		},	
     change(e) {
       if (this.tabIndex != e.index) {
+        uni.pageScrollTo({
+          scrollTop: 0,
+          duration: 0
+        });
         this.resetList();
         this.list.finished = true;
         this.tabIndex = e.index;