diff --git a/src/plugins/formCreate/index.ts b/src/plugins/formCreate/index.ts index 0d72048e..a6cb8213 100644 --- a/src/plugins/formCreate/index.ts +++ b/src/plugins/formCreate/index.ts @@ -17,7 +17,6 @@ import { import formCreate from '@form-create/element-ui' import install from '@form-create/element-ui/auto-import' -import FcDesigner from '@form-create/designer' const components = [ ElAside, @@ -34,14 +33,11 @@ const components = [ ElTabPane ] +// 参考 http://www.form-create.com/v3/element-ui/auto-import.html 文档 export const setupFormCreate = (app: App) => { components.forEach((component) => { app.component(component.name, component) }) - formCreate.use(install) - app.use(formCreate) - - app.use(FcDesigner) } diff --git a/src/views/bpm/form/formEditor.vue b/src/views/bpm/form/formEditor.vue index 2893249d..6202c5fa 100644 --- a/src/views/bpm/form/formEditor.vue +++ b/src/views/bpm/form/formEditor.vue @@ -1,13 +1,13 @@