From ff3913769cfb7060e9b57c2f702774977f070602 Mon Sep 17 00:00:00 2001 From: sx <2427911852@qq.com> Date: Fri, 28 Feb 2025 14:57:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jiuyi2/pages/index/wallet/wallet.vue | 12 +++--------- jiuyi2/pages/shop/store/index.vue | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/jiuyi2/pages/index/wallet/wallet.vue b/jiuyi2/pages/index/wallet/wallet.vue index 51d4b780..38dd5d1f 100644 --- a/jiuyi2/pages/index/wallet/wallet.vue +++ b/jiuyi2/pages/index/wallet/wallet.vue @@ -59,15 +59,9 @@ // 待释放列表 const releasedLst = ref([]) // 用户信息 - const userinfo = computed(() => { - let result = store.state.userinfo || {} - return result - }) + const userinfo = computed(() => store.state.userinfo || {}) // 我的钱包 - const wallet = computed(() => { - let result = store.state.purse || {} - return result - }) + const wallet = computed(() => store.state.purse || {}) onLoad(() => { // 获取待释放 @@ -190,7 +184,7 @@ - + 商家明细 diff --git a/jiuyi2/pages/shop/store/index.vue b/jiuyi2/pages/shop/store/index.vue index bb9d5819..93bd251d 100644 --- a/jiuyi2/pages/shop/store/index.vue +++ b/jiuyi2/pages/shop/store/index.vue @@ -236,7 +236,7 @@ defineExpose({ - +