From 54922af7db2d05c2289e6f20917ee8b3fd8dac28 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Sat, 12 Jun 2021 14:05:07 +0800
Subject: [PATCH] 升级dynamic-ds到最新版本3.4.0
---
ruoyi-ui/src/components/Editor/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/components/Editor/index.vue b/ruoyi-ui/src/components/Editor/index.vue
index 6cb82a1..b67c378 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: "请输入内容",
@@ -165,7 +165,7 @@
// 获取光标所在位置
let length = quill.getSelection().index;
// 插入图片 res.url为服务器返回的图片地址
- quill.insertEmbed(length, "image", res.data.url);
+ quill.insertEmbed(length, "image", res.url);
// 调整光标到最后
quill.setSelection(length + 1);
} else {
--
Gitblit v1.9.3