WXL
3 天以前 30e7ca11b36177cdaea2839aa5146c180ce53197
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) => {