From e0f6af1bc5004cd76b38bc1eb7e6927f0abb6d04 Mon Sep 17 00:00:00 2001 From: Dread <8791926+dread@user.noreply.gitee.com> Date: Sat, 13 Nov 2021 15:13:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/WalletUtil.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/utils/WalletUtil.js b/utils/WalletUtil.js index f5fdda0..38cfc61 100644 --- a/utils/WalletUtil.js +++ b/utils/WalletUtil.js @@ -70,16 +70,6 @@ let WalletUtil = { uni.setStorageSync('walletInfo', walletInfo); }, //修改钱包名称 - updateWalletName: function(type, address, name) { - let walletInfo = uni.getStorageSync('walletInfo'); - for (var k = 0, length = walletInfo.length; k < length; k++) { - if (walletInfo[k].address === address) { - walletInfo[k].name = name - break; - } - } - uni.setStorageSync('walletInfo', walletInfo); - }, updateWalletName: function(type, address, name) { let walletInfo = uni.getStorageSync('walletInfo'); for (var k = 0, length = walletInfo.length; k < length; k++) {