From ed75387b790cadda3c4704f4d26361f573d89867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Tue, 7 Feb 2023 02:32:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=B7=A8=E5=9F=9F=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 ++-- src/components/Tinymce/index.vue | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/index.js b/config/index.js index f033c81c..b9702285 100644 --- a/config/index.js +++ b/config/index.js @@ -18,7 +18,7 @@ module.exports = { '^/api/m1/xm': '/xm' } }, - + /** '/api/m1/arc': { target: 'http://localhost:7012', changeOrigin: true, @@ -26,7 +26,7 @@ module.exports = { '^/api/m1/arc': '/arc' } }, - /** + '/api/m1/sys': { target: 'http://localhost:7015', changeOrigin: true, diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index eb94ae32..f861f748 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -202,7 +202,9 @@ export default { upload(formData).then((res) => { var tips = res.data.tips; if(tips.isOk){ - success('http://localhost:8067/api/m1/arc/arc/image/uploadImm/IM1675705794917148.png') + success(res.data.data.url) + //success('http://localhost:8067/api/m1/arc/arc/image/uploadImm/IM1675705794917148.png') + }else{ failure(tips.msg) }