转账对话框
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user