积分兑换
This commit is contained in:
@@ -43,13 +43,13 @@ export default {
|
||||
},
|
||||
onLoad() {
|
||||
this.getListInit()
|
||||
},
|
||||
onShow() {
|
||||
document.title = "积分代兑换"
|
||||
uni.$on('updateGoodsList', () => {
|
||||
this.getListInit()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = "积分代兑换"
|
||||
},
|
||||
|
||||
methods: {
|
||||
getListInit() {
|
||||
|
||||
@@ -110,9 +110,14 @@ export default {
|
||||
...mapState(['user']),
|
||||
},
|
||||
onLoad() {
|
||||
console.log(123)
|
||||
this.$dict.load(['integralSGTypeText']).then(() => {
|
||||
this.getListInit()
|
||||
})
|
||||
uni.$on('updateGoodsList', () => {
|
||||
console.log(456)
|
||||
this.getListInit()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = '积分商城'
|
||||
@@ -121,9 +126,7 @@ export default {
|
||||
this.total = this.user.girdIntegral || 0
|
||||
})
|
||||
})
|
||||
uni.$on('updateGoodsList', () => {
|
||||
this.getListInit()
|
||||
})
|
||||
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['getAccount']),
|
||||
|
||||
Reference in New Issue
Block a user