From 9c6408b7a9c0eab9c8b82682c6ab44b34e95da7d Mon Sep 17 00:00:00 2001 From: shizhong <124974919@qq.com> Date: Tue, 13 Jun 2023 13:14:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=20FcDesigner=20=E6=94=B9=E6=88=90?= =?UTF-8?q?=E5=B1=80=E9=83=A8=E6=B3=A8=E5=86=8C=EF=BC=8C=E5=87=8F=E5=B0=91?= =?UTF-8?q?=E5=8C=85=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/formCreate/index.ts | 6 +---- src/views/bpm/form/formEditor.vue | 5 ++-- src/views/infra/build/index.vue | 38 +++++++++++++++++++++++++++---- 3 files changed, 37 insertions(+), 12 deletions(-) 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 @@