From 057f5bfa7319b5b2fdfdad08c7fdcccb22087761 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 11 Apr 2023 14:48:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/parnerOperation/editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/parnerOperation/editor.js b/src/views/parnerOperation/editor.js index e9b3c73..513c13e 100644 --- a/src/views/parnerOperation/editor.js +++ b/src/views/parnerOperation/editor.js @@ -349,14 +349,14 @@ export default { fd.append("file", file); Axios({ method: 'post', - url: Api.fileupload, + url: Api.fileUploadNakadai, data: fd, headers: { 'Content-Type': 'multipart/form-data', token: Util.local.get(Setting.tokenKey) }, }).then(({ data }) => { - callback(data.data.filesResult.fileId) + callback(data.filesResult.fileUrl) }).catch(res => {}) } //触发点击