Commit b7446f8d authored by RuoYi's avatar RuoYi

富文本工具栏配置视频

parent 19924cd1
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
[{ color: [] }, { background: [] }], // 字体颜色、字体背景颜色 [{ color: [] }, { background: [] }], // 字体颜色、字体背景颜色
[{ align: [] }], // 对齐方式 [{ align: [] }], // 对齐方式
["clean"], // 清除文本格式 ["clean"], // 清除文本格式
["link", "image"] // 链接、图片 ["link", "image", "video"] // 链接、图片、视频
], ],
}, },
placeholder: "请输入内容", placeholder: "请输入内容",
...@@ -158,6 +158,7 @@ export default { ...@@ -158,6 +158,7 @@ export default {
}); });
}, },
handleUploadSuccess(res, file) { handleUploadSuccess(res, file) {
console.info(file);
// 获取富文本组件实例 // 获取富文本组件实例
let quill = this.Quill; let quill = this.Quill;
// 如果上传成功 // 如果上传成功
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment