From 712123b1fa8d62a4fa6395aa0e9dbba7f84d0287 Mon Sep 17 00:00:00 2001 From: zhangdongxue Date: Wed, 29 Sep 2021 11:14:47 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=93=B6=E8=A1=8C=E5=8D=A1=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=8A=A0=E6=96=B0=E5=A2=9E=E6=8C=89=E9=92=AE]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/wallet/bankList.vue | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/pages/wallet/bankList.vue b/pages/wallet/bankList.vue index f579bfd..c4db724 100644 --- a/pages/wallet/bankList.vue +++ b/pages/wallet/bankList.vue @@ -14,7 +14,11 @@ - + + + + + @@ -81,8 +85,8 @@ editBank(id) { this.$Router.push({ name: 'addBank', - params:{ - id:id + params: { + id: id } }) }, @@ -101,9 +105,9 @@ withdrawsAccountsDelete(id).then(res => { console.log(res) that.lists.splice(index, 1) - if(that.lists.length === 0){ + if (that.lists.length === 0) { uni.navigateBack({}) - uni.setStorageSync('refresh',true) + uni.setStorageSync('refresh', true) } }).catch(err => { this.$refs.uToast.show({ @@ -133,6 +137,24 @@