积分代兑换
This commit is contained in:
@@ -41,11 +41,15 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
},
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.getListInit()
|
||||||
|
uni.$on('updateGoodsList', () => {
|
||||||
|
this.getListInit()
|
||||||
|
})
|
||||||
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = "积分代兑换"
|
document.title = "积分代兑换"
|
||||||
this.getListInit()
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
getListInit() {
|
getListInit() {
|
||||||
this.current = 1
|
this.current = 1
|
||||||
|
|||||||
@@ -110,12 +110,10 @@ 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', () => {
|
uni.$on('updateGoodsList', () => {
|
||||||
console.log(456)
|
|
||||||
this.getListInit()
|
this.getListInit()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user