Browse Source

钱包工具类

master
vee 4 years ago
parent
commit
83870ed22b
  1. 4
      utils/WalletUtil.js

4
utils/WalletUtil.js

@ -1,5 +1,5 @@
impor TokenUtil from './TokenUtil.js' impor TokenUtil from './TokenUtil.js'
let fullWallet = { const fullWallet = {
"BTC": [{ "BTC": [{
balance: 0, balance: 0,
name: "BTC", name: "BTC",
@ -45,6 +45,7 @@ let fullWallet = {
icon: require('@/static/tongyonh/tether_usd.png') icon: require('@/static/tongyonh/tether_usd.png')
} }
] ]
]
} }
let WalletUtil = { let WalletUtil = {
@ -90,3 +91,4 @@ let fullWallet = {
uni.setStorageSync('walletInfo', walletInfo); uni.setStorageSync('walletInfo', walletInfo);
} }
} }
export default walletUtil
Loading…
Cancel
Save