【修改】个人中心

This commit is contained in:
liqianjin 2023-03-07 16:36:15 +08:00
parent f0e189bb7f
commit 20861b0ea5
1 changed files with 12 additions and 10 deletions

View File

@ -80,10 +80,8 @@ export default {
showAmount : 0
};
},
onShow() {
this.type = this.$route.query.type === undefined ? 'goufang_to_balance': this.$route.query.type;
if (uni.getStorageSync('token')) {
onLoad(res){
this.type = res.type
switch (this.type){
case "goufang_to_balance":
this.type_name = '购房券'
@ -92,6 +90,10 @@ export default {
this.type_name = '消费券'
break
}
},
onShow() {
if (uni.getStorageSync('token')) {
this.getWithdrawInfo();
this.getFenxiaoInfo();
this.getBankAccountInfo();