diff --git a/bundle_b/pages/local_shop/local_shop_edit.vue b/bundle_b/pages/local_shop/local_shop_edit.vue
index 46b9006..f3da5ac 100644
--- a/bundle_b/pages/local_shop/local_shop_edit.vue
+++ b/bundle_b/pages/local_shop/local_shop_edit.vue
@@ -432,9 +432,9 @@
});
}
},
- onUnload() {
- uni.$emit('refresh_local_shop_list', true)
- },
+ // onUnload() {
+ // uni.$emit('refresh_local_shop_list', true)
+ // },
computed: {
btnText() {
if (this.state == 1) {
diff --git a/bundle_b/pages/local_shop/local_shop_manager.vue b/bundle_b/pages/local_shop/local_shop_manager.vue
index 6f0ae70..366ffa9 100644
--- a/bundle_b/pages/local_shop/local_shop_manager.vue
+++ b/bundle_b/pages/local_shop/local_shop_manager.vue
@@ -2,7 +2,8 @@
-
+
@@ -12,7 +13,7 @@
import shopList from './components/shop-list.vue'
export default {
components: {
- shopList,
+ shopList,
},
data() {
return {
@@ -34,22 +35,30 @@
type: 4,
num: 0
}],
- lstore_id: 0
+ lstore_id: 0,
+ scrollTo: 0
};
},
onLoad(options) {
this.lstore_id = options?.lstore_id
this.changeShow(0);
},
+
+ onShow() {
+ if (uni.getStorageSync('mescrollScrollTop')) {
+ this.scrollTo = uni.getStorageSync('mescrollScrollTop')
+ console.log('getStorageSync=', uni.getStorageSync('mescrollScrollTop'))
+ }
+ },
methods: {
changeShow(index) {
- if(index != -1) {
+ if (index != -1) {
this.$nextTick(() => {
this.active = index
})
}
},
-
+
setGoodsStateNum(data) {
this.menu[2].num = data.stayGoodsCount
this.menu[3].num = data.failGoodsCount
@@ -57,7 +66,6 @@
}
};
-
\ No newline at end of file