React开发(187):react常规调用接口操作写法

try {
      const res = await customerWalletFreeze({
        walletAccountCode: showBalanceMsg.walletAccountCode,
        status: showBalanceMsg.status,
      });
      console.log(res.data);
      const values = this.searchRef.handleGetFieldsValue();
      console.log(values, 'values');
      if (res.returnCode == 0) {
        message.success('操作成功');
        this.setState({
          balancefrozenvisible: false,
        });
        this.handleGetpageWalletAccount({ ...values });
      }
    } catch (error) {}

上一篇:AtCoder Beginner Contest 187


下一篇:leetCode_187. 重复的DNA序列