From 06d7d264eea51f4a89452c73656f69f6e07ad990 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 23 十二月 2024 10:43:46 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 1128b97..ed3d7a8 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1588,7 +1588,7 @@ }, 600) } - this.triggerNote(res, _param.ID) // 娑堟伅 + this.triggerNote(res, _param) // 娑堟伅 this.execSuccess(res) } else { this.execError(res) @@ -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