fix:修复因组件id不对没有成功移除自带的富文本组件问题
parent
914e190be0
commit
be2c3f3fcd
|
|
@ -35,7 +35,7 @@ export const useFormCreateDesigner = async (designer: Ref) => {
|
|||
// 移除自带的上传组件规则,使用 uploadFileRule、uploadImgRule、uploadImgsRule 替代
|
||||
designer.value?.removeMenuItem('upload')
|
||||
// 移除自带的富文本组件规则,使用 editorRule 替代
|
||||
designer.value?.removeMenuItem('fc-editor')
|
||||
designer.value?.removeMenuItem('fcEditor')
|
||||
const components = [editorRule, uploadFileRule, uploadImgRule, uploadImgsRule]
|
||||
components.forEach((component) => {
|
||||
// 插入组件规则
|
||||
|
|
|
|||
Loading…
Reference in New Issue