From 23346896f069d6be5fba6f073c471078b26036fa Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 31 一月 2021 15:23:32 +0800 Subject: [PATCH] 2021-01-31 --- src/tabviews/subtabtable/index.jsx | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/tabviews/subtabtable/index.jsx b/src/tabviews/subtabtable/index.jsx index 1e7b4bd..58ecb38 100644 --- a/src/tabviews/subtabtable/index.jsx +++ b/src/tabviews/subtabtable/index.jsx @@ -446,10 +446,14 @@ res.mk_api_key = mkey this.customCallbackRequest(res) } - }, () => { - this.setState({ - loading: false - }) + }, (e) => { + let _result = { + mk_api_key: mkey, + $ErrCode: 'E', + $ErrMesg: e && e.statusText ? e.statusText : '' + } + + this.customCallbackRequest(_result) }) } -- Gitblit v1.8.0