From 4546530b83c119280a3631be82b5f070c8713c03 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 16 七月 2023 12:19:38 +0800 Subject: [PATCH] 2023-07-16 --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index ea562ed..cef2d8d 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1316,6 +1316,12 @@ _params.method = 'post' } + if (btn.ContentType) { + _params.headers = { + 'Content-Type': btn.ContentType + } + } + Api.directRequest(_params).then(res => { if (typeof(res) !== 'object') { let error = '鏈煡鐨勮繑鍥炵粨鏋滐紒' -- Gitblit v1.8.0