XiaBx 3 年之前
父節點
當前提交
a90b99597c
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/components/Tinymce/src/Editor.vue

+ 3 - 3
src/components/Tinymce/src/Editor.vue

@@ -29,7 +29,7 @@ import { buildShortUUID } from "@/utils/uuid";
 import { bindHandlers } from "./helper";
 import lineHeight from "./lineHeight";
 import { onMountedOrActivated } from "@/hooks/onMountedOrActivated";
-const tinymceScriptSrc = "http://zwcontent.oss-cn-hangzhou.aliyuncs.com/editor_manage/front/js/tinymce/tinymce.min.js";
+const tinymceScriptSrc = "https://zwcontent.oss-cn-hangzhou.aliyuncs.com/editor_manage/front/js/tinymce/tinymce.min.js";
 
 export default defineComponent({
   name: "Tinymce",
@@ -57,14 +57,14 @@ export default defineComponent({
       const { height, options } = props;
       return {
         selector: `#${unref(tinymceId)}`,
-        base_url: 'http://zwcontent.oss-cn-hangzhou.aliyuncs.com/editor_manage/front/js/tinymce/',
+        base_url: 'https://zwcontent.oss-cn-hangzhou.aliyuncs.com/editor_manage/front/js/tinymce/',
           suffix: '.min',
         height: height,
         toolbar: toolbar,
         menubar: "file edit insert view format table",
         plugins: plugins,
         // 语言包
-        language_url: "http://zwcontent.oss-cn-hangzhou.aliyuncs.com/public/zh_CN.js",
+        language_url: "https://zwcontent.oss-cn-hangzhou.aliyuncs.com/public/zh_CN.js",
         // 中文
         language: "zh_CN",
         default_link_target: "_blank",