zzzz
2024-04-20 b37f91233aeb11506b127108c1bf840d20855702
src/page/withdraw/withdrawPage.vue
@@ -180,7 +180,7 @@
                isGetdata = true
            }
            if (isGetdata) {
                this.getBlock(this.value);
                // this.getBlock(this.value);
                this.getAvailable(this.actions[0].name);
@@ -263,7 +263,7 @@
            this.showSymbol = false;
            this.value = item.name;
            this.withdraw_fee_type = ''
            this.getBlock(item.name);
            // this.getBlock(item.name);
            this.getAvailable(item.name)
            if (item.name == 'BTC' || item.name == 'ETH') {
                this.numLenth = 7
@@ -283,14 +283,14 @@
            }
        },
        //根据币种获取链地址
        getBlock(symbol) {
            Axios.getBlock({
                coin: symbol
            }).then((res) => {
                this.blockList = res.data;
                this.blockName = res.data[0].blockchain_name;
            });
        },
        // getBlock(symbol) {
        //     Axios.getBlock({
        //         coin: symbol
        //     }).then((res) => {
        //         this.blockList = res.data;
        //         this.blockName = res.data[0].blockchain_name;
        //     });
        // },
        //选中链名称
        changeBlockchain(item, index) {
            this.blockchainIndex = index;