转账对话框

This commit is contained in:
saplf
2019-02-20 23:13:50 +08:00
parent bf9c510d73
commit 54a0bd7f88
3 changed files with 158 additions and 3 deletions

View File

@@ -29,8 +29,15 @@ export default {
],
fetching: false,
filter: '',
balance: '',
balance: 0,
address: '',
transferVisible: false,
targetAddress: '',
transferAmount: '',
transferFee: '',
transferRemark: '',
},
mutations: {
@@ -45,9 +52,30 @@ export default {
setAddress(state, address) {
state.address = address
},
setActions(state, actions) {
state.itemList = actions
},
toggleTransferDlg(state, value) {
state.transferVisible = value
},
changeTargetAddress(state, value) {
state.targetAddress = value
},
changeTransferAmount(state, value) {
state.transferAmount = value
},
changeTransferFee(state, value) {
state.transferFee = value
},
changeTransferRemark(state, value) {
state.transferRemark = value
},
},
actions: {