From d3766b6eca649a0f67c5aaae7ae1afd55092dca6 Mon Sep 17 00:00:00 2001 From: wangting <2940883238@qq.com> Date: Fri, 10 May 2024 18:07:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC=20=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/components/Editor/index.vue | 100 ++++++++++++++++++----- ruoyi-ui/src/components/Editor/link.js | 58 +++++++++++++ 2 files changed, 139 insertions(+), 19 deletions(-) create mode 100644 ruoyi-ui/src/components/Editor/link.js diff --git a/ruoyi-ui/src/components/Editor/index.vue b/ruoyi-ui/src/components/Editor/index.vue index 8981d76..0357f0d 100644 --- a/ruoyi-ui/src/components/Editor/index.vue +++ b/ruoyi-ui/src/components/Editor/index.vue @@ -7,8 +7,8 @@ :on-error="handleUploadError" name="file" :show-file-list="false" + :on-preview="handlePreview" :headers="headers" - style="display: none" ref="upload" v-if="this.type == 'url'" > @@ -19,6 +19,8 @@