diff --git a/src/components/Editor/src/Editor.vue b/src/components/Editor/src/Editor.vue index 45ea26370..c2905ff8b 100644 --- a/src/components/Editor/src/Editor.vue +++ b/src/components/Editor/src/Editor.vue @@ -20,7 +20,7 @@ const currentLocale = computed(() => localeStore.getCurrentLocale) i18nChangeLanguage(unref(currentLocale).lang) const props = defineProps({ - editorId: propTypes.string.def('wangeEditor-1'), + editorId: propTypes.string.def('wangEditor-1'), height: propTypes.oneOfType([Number, String]).def('500px'), editorConfig: { type: Object as PropType>, diff --git a/src/views/bpm/model/form/PrintTemplate/Index.vue b/src/views/bpm/model/form/PrintTemplate/Index.vue index 4dae91a4f..845946689 100644 --- a/src/views/bpm/model/form/PrintTemplate/Index.vue +++ b/src/views/bpm/model/form/PrintTemplate/Index.vue @@ -43,7 +43,7 @@ const handleConfirm = () => { // Editor 相关 const editorRef = shallowRef() -const editorId = ref('wangeEditor-1') +const editorId = ref('wangEditor-1') const toolbarConfig = { excludeKeys: ['group-video'], insertKeys: { diff --git a/types/custom-types.d.ts b/types/wangeditor-types.d.ts similarity index 100% rename from types/custom-types.d.ts rename to types/wangeditor-types.d.ts