From f3869aa9615751cd40fa5426f20ca083a31f08f8 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 15 Apr 2023 22:46:45 +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/editor/index.vue | 5 ++-- src/views/infra/build/index.vue | 41 ++++++++++++++++++++++++----- 3 files changed, 38 insertions(+), 14 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/editor/index.vue b/src/views/bpm/form/editor/index.vue index 14a2c50f..c56a7747 100644 --- a/src/views/bpm/form/editor/index.vue +++ b/src/views/bpm/form/editor/index.vue @@ -1,14 +1,14 @@