From 30e7ca11b36177cdaea2839aa5146c180ce53197 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 21 七月 2025 21:32:43 +0800
Subject: [PATCH] 测试完成

---
 src/views/knowledge/education/compilequer/index.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/views/knowledge/education/compilequer/index.vue b/src/views/knowledge/education/compilequer/index.vue
index df401b1..42140b2 100644
--- a/src/views/knowledge/education/compilequer/index.vue
+++ b/src/views/knowledge/education/compilequer/index.vue
@@ -680,7 +680,7 @@
         console.log(this.ruleForm.richText, "this.ruleForm.richText");
         // 澶勭悊鍐呯綉html
         addrichText({
-          // content: this.content,
+          content: this.content,
           fileName: this.generateRandomHtmlFilename(),
         }).then((resf) => {
           this.ruleForm.htmlRichText = resf.msg.replace(
@@ -919,9 +919,6 @@
     beforeEditorUpload(res, file) {
       //鏄剧ず涓婁紶鍔ㄧ敾
       this.quillUpdateImg = true;
-      //  const res1 = await uploadImage()
-      // console.log(res1,'=====');
-      // this.$emit('before',res, file)
       console.log(res);
       console.log(file);
     },
@@ -943,7 +940,7 @@
       // 鑾峰彇鍏夋爣鎵�鍦ㄤ綅缃�
       let length = quill.getSelection().index;
       // 鎻掑叆鍥剧墖||瑙嗛  res.info涓烘湇鍔″櫒杩斿洖鐨勫浘鐗囧湴鍧�
-      if (type == "mp4" || type == "MP4") {
+      if (type == "mp4" || type == "MP4"|| type == "avi"|| type == "AVI") {
         window.jsValue = imgUrl;
         quill.insertEmbed(length, "video", imgUrl);
       } else {
@@ -1018,6 +1015,8 @@
         });
     },
     Getmissioncontent(url) {
+      console.log(111,url);
+
       axios
         .get(url)
         .then((response) => {

--
Gitblit v1.9.3