From 1f5c6ac307a134dfa45b64c5723f2481ead9f213 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 16 七月 2023 16:23:09 +0800 Subject: [PATCH] 2023-07-16 --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index cef2d8d..48ae9df 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1341,6 +1341,16 @@ if (Array.isArray(res)) { res = { data: res } } + + if (btn.outerBlacklist) { + let list = btn.outerBlacklist.split(',').map(m => m.toLowerCase()) + Object.keys(res).forEach(key => { + if (list.includes(key.toLowerCase())) { + delete res[key] + } + }) + } + res.mk_api_key = mkey this.customCallbackRequest(params, res, record, _resolve) } -- Gitblit v1.8.0