From 50af971f6887e96c1da70410fc493acea5323c7d Mon Sep 17 00:00:00 2001 From: yangjian Date: Fri, 18 Jun 2021 20:24:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=80=89=E6=8B=A9=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E6=97=B6=E5=9B=BE=E7=89=87=E5=90=8D=E7=A7=B0=E5=8C=85?= =?UTF-8?q?=E5=90=AB=E7=A9=BA=E6=A0=BC=E7=9A=84=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/mrdoc/mrdoc.editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/mrdoc/mrdoc.editor.js b/static/mrdoc/mrdoc.editor.js index 1a01896..e2ddc39 100644 --- a/static/mrdoc/mrdoc.editor.js +++ b/static/mrdoc/mrdoc.editor.js @@ -477,9 +477,9 @@ upload.render({ //上传成功 if(res.success == 1){ if(editor_mode == 3){ - editor.addValue('') + editor.addValue('') }else{ - editor.insertValue("\n![](" + res.url + ")"); + editor.insertValue("\n![](" + res.url.replace(" ",'%20') + ")"); } layer.closeAll();