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/commontable/index.jsx | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/tabviews/commontable/index.jsx b/src/tabviews/commontable/index.jsx index a400cdd..73a85b8 100644 --- a/src/tabviews/commontable/index.jsx +++ b/src/tabviews/commontable/index.jsx @@ -556,10 +556,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