From 46b43b1bd9a1d3311ce54eb921d67401995c540e Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: Sat, 24 Jul 2021 10:48:01 +0800
Subject: [PATCH] !269 code=401时request方法没有返回Promise.reject 修复 Merge pull request !269 from 严俊东/N/A
---
ruoyi-ui/src/components/Editor/index.vue | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ruoyi-ui/src/components/Editor/index.vue b/ruoyi-ui/src/components/Editor/index.vue
index 2c906c5..33b3a62 100644
--- a/ruoyi-ui/src/components/Editor/index.vue
+++ b/ruoyi-ui/src/components/Editor/index.vue
@@ -130,14 +130,14 @@
this.quill.format("image", false);
}
});
- toolbar.addHandler("video", (value) => {
- this.uploadType = "video";
- if (value) {
- this.$refs.upload.$children[0].$refs.input.click();
- } else {
- this.quill.format("video", false);
- }
- });
+ // toolbar.addHandler("video", (value) => {
+ // this.uploadType = "video";
+ // if (value) {
+ // this.$refs.upload.$children[0].$refs.input.click();
+ // } else {
+ // this.quill.format("video", false);
+ // }
+ // });
}
this.Quill.pasteHTML(this.currentValue);
this.Quill.on("text-change", (delta, oldDelta, source) => {
--
Gitblit v1.9.2