| | |
| | | this.wallets = data.extends; |
| | | this.form.symbol = this.actions[0].symbol; |
| | | this.form.symbol_name = this.actions[0].name; |
| | | // let toObj = this.actions.find((item) => { |
| | | // return item.symbol.toLowerCase() == "btc"; |
| | | // }); |
| | | let toObj = this.actions.find((item) => { |
| | | return item.symbol.toLowerCase() == "btc"; |
| | | }); |
| | | // console.log('toObj: ',toObj.name) |
| | | this.form.symbol_to = this.actions[1].symbol; |
| | | this.form.symbol1_name = this.actions[1].name; |
| | | this.form.symbol_to = toObj.symbol; |
| | | this.form.symbol1_name = toObj.name; |
| | | }); |
| | | }, |
| | | methods: { |