From 241a37c30386c6ceb2188a2c562de354ac232cb0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 28 九月 2021 14:58:21 +0800 Subject: [PATCH] 2021-09-28 --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 40 ++++++++++++++++++++++------------------ 1 files changed, 22 insertions(+), 18 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 1282c98..b6101a4 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -692,15 +692,17 @@ delete _param.ErrMesg delete _param.message - Api.genericInterface(_param).then(result => { - if (!result.status) { - notification.warning({ - top: 92, - message: result.message, - duration: 5 - }) - } - }) + setTimeout(() => { + Api.genericInterface(_param).then(result => { + if (!result.status) { + notification.warning({ + top: 92, + message: result.message, + duration: 5 + }) + } + }) + }, 600) } resolve(res) }, () => { @@ -1160,15 +1162,17 @@ delete _param.ErrMesg delete _param.message - Api.genericInterface(_param).then(result => { - if (!result.status) { - notification.warning({ - top: 92, - message: result.message, - duration: 5 - }) - } - }) + setTimeout(() => { + Api.genericInterface(_param).then(result => { + if (!result.status) { + notification.warning({ + top: 92, + message: result.message, + duration: 5 + }) + } + }) + }, 600) } if (params.length === 0) { this.execSuccess(res) -- Gitblit v1.8.0