src/menu/components/editor/braft-editor/index.jsx
@@ -6,6 +6,7 @@ import asyncComponent from '@/utils/asyncComponent' import asyncIconComponent from '@/utils/asyncIconComponent' import { getTables } from '@/utils/utils-custom.js' import getWrapForm from './options' import MKEmitter from '@/utils/events.js' @@ -114,6 +115,10 @@ } else if (!card.setting.supModule) { card.errors.push({ level: 0, detail: '未设置上级组件!'}) } if (card.errors.length === 0) { card.$tables = getTables(card) } } this.setState({