|
|
@@ -283,11 +283,17 @@
|
|
|
computed: {
|
|
|
...mapState(['userInfo']),
|
|
|
},
|
|
|
+ async onShow() {
|
|
|
+ let res = await this.$http.get('/userAccount/userWallet'); //获取钱包信息
|
|
|
+ if (res.code == '200') {
|
|
|
+ this.walletInfo = res.data;
|
|
|
+ }
|
|
|
+ await this.getcardPack();
|
|
|
+ },
|
|
|
async onLoad(options) {
|
|
|
if (options) {
|
|
|
this.walletInfo = JSON.parse(options.info) //钱包余额信息
|
|
|
}
|
|
|
- await this.getcardPack();
|
|
|
},
|
|
|
methods: {
|
|
|
//删除银行卡
|