积分代兑换

This commit is contained in:
liuye
2023-05-23 09:26:06 +08:00
parent f736ca52ce
commit 23b12896bd
2 changed files with 6 additions and 4 deletions

View File

@@ -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

View File

@@ -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()
})
},