mooho-base-admin-plus 2.5.4 → 2.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/history.md CHANGED
@@ -99,3 +99,4 @@ mooho-base-admin-plus@2.5.1 - 修复静态表格分页超出限制的bug
99
99
  mooho-base-admin-plus@2.5.2 - 筛选项允许只查空值
100
100
  mooho-base-admin-plus@2.5.3 - excel导出上限改为100W,pdf上限改为1W
101
101
  mooho-base-admin-plus@2.5.4 - 输入框允许删除
102
+ mooho-base-admin-plus@2.5.5 - 富文本编辑器地址可配置
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.5.4",
4
+ "version": "2.5.5",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -8,6 +8,7 @@
8
8
  import mixinPage from '../../mixins/page';
9
9
  import util from '../../libs/util';
10
10
  import { debounce, getEditorNamespace } from 'ckeditor4-integrations-common';
11
+ import Setting from '../../setting';
11
12
 
12
13
  export default {
13
14
  mixins: [mixinPage],
@@ -29,7 +30,7 @@
29
30
  },
30
31
  editorUrl: {
31
32
  type: String,
32
- default: 'https://cdn.ckeditor.com/4.21.0/full-all/ckeditor.js'
33
+ default: Setting.editorUrl
33
34
  }
34
35
  },
35
36
  data() {
package/src/setting.js CHANGED
@@ -179,7 +179,9 @@ const Setting = {
179
179
  * 功能配置
180
180
  * */
181
181
  // 相同路由,不同参数间进行切换,是否强力更新
182
- sameRouteForceUpdate: false
182
+ sameRouteForceUpdate: false,
183
+ // 富文本编辑器
184
+ editorUrl: 'https://cdn-source.ckeditor.com/4.21.0/full-all/ckeditor.js'
183
185
  };
184
186
 
185
187
  // const copyTo = (source, target) => {