From b7446f8d0ffd282d7f22d775e896d066219856a4 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期四, 03 六月 2021 13:26:09 +0800
Subject: [PATCH] 富文本工具栏配置视频

---
 ruoyi-ui/src/components/Editor/index.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/components/Editor/index.vue b/ruoyi-ui/src/components/Editor/index.vue
index 640049c..ad4da7e 100644
--- a/ruoyi-ui/src/components/Editor/index.vue
+++ b/ruoyi-ui/src/components/Editor/index.vue
@@ -75,7 +75,7 @@
             [{ color: [] }, { background: [] }],             // 字体颜色、字体背景颜色
             [{ align: [] }],                                 // 对齐方式
             ["clean"],                                       // 清除文本格式
-            ["link", "image"]                                // 链接、图片
+            ["link", "image", "video"]                       // 链接、图片、视频
           ],
         },
         placeholder: "请输入内容",
@@ -158,6 +158,7 @@
       });
     },
     handleUploadSuccess(res, file) {
+      console.info(file);
       // 获取富文本组件实例
       let quill = this.Quill;
       // 如果上传成功

--
Gitblit v1.9.2