diff --git a/src/project/pingchang/AppRedemptionPoints/AppRedemptionPoints.vue b/src/project/pingchang/AppRedemptionPoints/AppRedemptionPoints.vue index a89425d7..7e44e25a 100644 --- a/src/project/pingchang/AppRedemptionPoints/AppRedemptionPoints.vue +++ b/src/project/pingchang/AppRedemptionPoints/AppRedemptionPoints.vue @@ -41,11 +41,15 @@ export default { computed: { ...mapState(['user']), }, + onLoad() { + this.getListInit() + uni.$on('updateGoodsList', () => { + this.getListInit() + }) + }, onShow() { document.title = "积分代兑换" - this.getListInit() }, - methods: { getListInit() { this.current = 1 diff --git a/src/project/pingchang/AppSuperMarket/AppSuperMarket.vue b/src/project/pingchang/AppSuperMarket/AppSuperMarket.vue index 49de5be4..f74926f4 100644 --- a/src/project/pingchang/AppSuperMarket/AppSuperMarket.vue +++ b/src/project/pingchang/AppSuperMarket/AppSuperMarket.vue @@ -110,12 +110,10 @@ export default { ...mapState(['user']), }, onLoad() { - console.log(123) this.$dict.load(['integralSGTypeText']).then(() => { this.getListInit() }) uni.$on('updateGoodsList', () => { - console.log(456) this.getListInit() }) },