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/zshare/actionList/normalbutton/index.jsx | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index aa503fb..792b7ef 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -791,9 +791,14 @@ res.mk_api_key = mkey this.customCallbackRequest(params, res, record, _resolve) } - }, () => { - this.updateStatus('over') - _resolve() + }, (e) => { + let result = { + mk_api_key: mkey, + $ErrCode: 'E', + $ErrMesg: e && e.statusText ? e.statusText : '' + } + + this.customCallbackRequest([], result, record, _resolve) }) } -- Gitblit v1.8.0