积分代兑换
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user