From 62310ab863485ae8e2c3f1fd40fd8fc3280ae3f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B7=B3?= Date: Sat, 1 Apr 2023 10:05:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BD=BF=E7=94=A8=E7=BC=A9=E7=95=A5?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yi.BBS.Vue3/src/components/MavonEdit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yi.BBS.Vue3/src/components/MavonEdit.vue b/Yi.BBS.Vue3/src/components/MavonEdit.vue index a691f6c2..8db40e6c 100644 --- a/Yi.BBS.Vue3/src/components/MavonEdit.vue +++ b/Yi.BBS.Vue3/src/components/MavonEdit.vue @@ -133,7 +133,7 @@ const imgAdd = async (pos, $file) => { var formdata = new FormData(); formdata.append('file', $file); const response = await upload(formdata) - const url = `${import.meta.env.VITE_APP_BASEAPI}/file/${response.data[0].id}`; + const url = `${import.meta.env.VITE_APP_BASEAPI}/file/${response.data[0].id}/true`; console.log(url) md.value.$img2Url(pos, url);