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 @@