From 07577c2162c85c96f43339be7451ea0a020daa2d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 28 十月 2024 14:30:16 +0800 Subject: [PATCH] Merge branch 'positec' into bms --- src/tabviews/zshare/mutilform/index.jsx | 48 ++++++++++++++++++++++++++++-------------------- 1 files changed, 28 insertions(+), 20 deletions(-) diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx index 5d4e1e1..9def935 100644 --- a/src/tabviews/zshare/mutilform/index.jsx +++ b/src/tabviews/zshare/mutilform/index.jsx @@ -951,11 +951,13 @@ return new Promise(resolve => { Api.getSystemCacheConfig(item, cache).then(res => { if (!res.status) { - notification.warning({ - top: 92, - message: res.message, - duration: 5 - }) + if (res.ErrCode !== '-2') { + notification.warning({ + top: 92, + message: res.message, + duration: 5 + }) + } skip = true } resolve(res) @@ -1047,11 +1049,13 @@ new Promise(resolve => { Api.getSystemCacheConfig(param, cache).then(res => { if (!res.status) { - notification.warning({ - top: 92, - message: res.message, - duration: 5 - }) + if (res.ErrCode !== '-2') { + notification.warning({ + top: 92, + message: res.message, + duration: 5 + }) + } skip = true } resolve(res) @@ -1089,11 +1093,13 @@ new Promise(resolve => { Api.getSystemCacheConfig(mainparam, cache).then(res => { if (!res.status) { - notification.warning({ - top: 92, - message: res.message, - duration: 5 - }) + if (res.ErrCode !== '-2') { + notification.warning({ + top: 92, + message: res.message, + duration: 5 + }) + } skip = true } resolve(res) @@ -1159,11 +1165,13 @@ setTimeout(() => { Api.getSystemCacheConfig(param, cache).then(res => { if (!res.status) { - notification.warning({ - top: 92, - message: res.message, - duration: 5 - }) + if (res.ErrCode !== '-2') { + notification.warning({ + top: 92, + message: res.message, + duration: 5 + }) + } skip = true } resolve(res) -- Gitblit v1.8.0