优化部分代码,修改店铺ui以及功能

This commit is contained in:
lemon橪
2021-08-09 18:40:06 +08:00
parent e02fa75274
commit 209060fd76
14 changed files with 559 additions and 1143 deletions

View File

@@ -26,7 +26,7 @@ export default {
walletNum: 0,
};
},
async mounted() {
async onShow() {
if (this.$options.filters.isLogin("auth")) {
let result = await getUserWallet(); //预存款
this.walletNum = result.data.result.memberWallet;