diff --git a/bundle_b/pages/local_shop/components/shop-list.vue b/bundle_b/pages/local_shop/components/shop-list.vue
index f4956ef..59241e3 100644
--- a/bundle_b/pages/local_shop/components/shop-list.vue
+++ b/bundle_b/pages/local_shop/components/shop-list.vue
@@ -63,12 +63,12 @@
}
},
created() {
- uni.$on("refreshorder", () => {
+ uni.$on("refresh_local_shop_list", () => {
this.refresh()
})
},
destroyed() {
- uni.$off("refreshorder")
+ uni.$off("refresh_local_shop_list")
},
methods: {
refresh() {
@@ -130,9 +130,7 @@
});
}
}
-
});
-
}
}
};
diff --git a/bundle_b/pages/local_shop/local_shop_add.vue b/bundle_b/pages/local_shop/local_shop_add.vue
index f727777..0b8a8d6 100644
--- a/bundle_b/pages/local_shop/local_shop_add.vue
+++ b/bundle_b/pages/local_shop/local_shop_add.vue
@@ -34,7 +34,7 @@
-
+
+ 添加规格(默认为单规格)
diff --git a/bundle_b/pages/local_shop/local_shop_edit.vue b/bundle_b/pages/local_shop/local_shop_edit.vue
index bbfbc1d..77c7743 100644
--- a/bundle_b/pages/local_shop/local_shop_edit.vue
+++ b/bundle_b/pages/local_shop/local_shop_edit.vue
@@ -33,7 +33,7 @@
-
+
+ 添加规格(默认为单规格)
@@ -354,6 +354,9 @@
});
}
},
+ onUnload() {
+ uni.$emit('refresh_local_shop_list', true)
+ },
computed: {
btnText() {
if (this.state == 1) {