From 0f6153ab337c4ecca5579a79b03f3ba5f831e0c4 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 18 九月 2022 02:03:48 +0800 Subject: [PATCH] 2022-09-18 --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index af088f7..73750e3 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1629,6 +1629,11 @@ } else { result.rduri = btn.interface } + + let host = window.GLOB.baseurl.replace(/http(s):\/\//, '') + if (result.rduri.indexOf(host) === -1 && /\/dostars/.test(result.rduri)) { + result.$login = true + } } } -- Gitblit v1.8.0