From 614915fa4d0bf470515ac30821fb651cf5238fc9 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 21 十二月 2024 21:48:21 +0800 Subject: [PATCH] 2024-12-21 --- 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 8b39337..ed3d7a8 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1825,6 +1825,16 @@ }) } + if (/@.*@/.test(url)) { + Object.keys(param).forEach(key => { + let reg = new RegExp('@' + key + '@', 'ig') + if (reg.test(url)) { + url = url.replace(reg, param[key]) + delete param[key] + } + }) + } + let _params = { url: url, method: btn.method || 'post' -- Gitblit v1.8.0