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