fix: wangEditor

This commit is contained in:
xingyu4j
2025-10-15 11:30:40 +08:00
parent 4e870d6980
commit 9e75e98a3f
3 changed files with 2 additions and 2 deletions

View File

@ -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<Partial<IEditorConfig>>,

View File

@ -43,7 +43,7 @@ const handleConfirm = () => {
// Editor 相关
const editorRef = shallowRef<IDomEditor>()
const editorId = ref('wangeEditor-1')
const editorId = ref('wangEditor-1')
const toolbarConfig = {
excludeKeys: ['group-video'],
insertKeys: {