From 3e359e4550d018035406a97c190b98f83839ba7f Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期五, 13 十二月 2024 10:41:05 +0800 Subject: [PATCH] 1、工作流重做更新 2、@import修改为@use以应对sass升级弃用@import 3、进入系统后自动redirect到home页 --- src/plugins/formCreate/index.ts | 75 +++++++++++++++++++++++++++++++++---- 1 files changed, 67 insertions(+), 8 deletions(-) diff --git a/src/plugins/formCreate/index.ts b/src/plugins/formCreate/index.ts index 44556de..07d2c51 100644 --- a/src/plugins/formCreate/index.ts +++ b/src/plugins/formCreate/index.ts @@ -1,7 +1,37 @@ import type { App } from 'vue' // 👇使用 form-create 需额外全局引入 element plus 组件 import { + // ElAutocomplete, + // ElButton, + // ElCascader, + // ElCheckbox, + // ElCheckboxButton, + // ElCheckboxGroup, + // ElCol, + // ElColorPicker, + // ElDatePicker, + // ElDialog, + // ElForm, + // ElInput, + // ElInputNumber, + // ElPopover, + // ElRadio, + // ElRadioButton, + // ElRadioGroup, + // ElRate, + // ElRow, + // ElSelect, + // ElSlider, + // ElSwitch, + // ElTimePicker, + // ElTooltip, + // ElTree, + // ElUpload, + // ElIcon, + // ElProgress, + // 以上会由 @form-create/element-ui/auto-import 自动引入 ElAlert, + ElTransfer, ElAside, ElContainer, ElDivider, @@ -12,7 +42,21 @@ ElTableColumn, ElTabPane, ElTabs, - ElTransfer + ElDropdown, + ElDropdownMenu, + ElDropdownItem, + ElBadge, + ElTag, + ElText, + ElMenu, + ElMenuItem, + ElFooter, + ElMessage, + ElCollapse, + ElCollapseItem, + ElCard, + // ElFormItem, + // ElOption } from 'element-plus' import FcDesigner from '@form-create/designer' import formCreate from '@form-create/element-ui' @@ -41,18 +85,30 @@ }) const components = [ + ElAlert, + ElTransfer, ElAside, - ElPopconfirm, - ElHeader, - ElMain, ElContainer, ElDivider, - ElTransfer, - ElAlert, - ElTabs, + ElHeader, + ElMain, + ElPopconfirm, ElTable, ElTableColumn, ElTabPane, + ElTabs, + ElDropdown, + ElDropdownMenu, + ElDropdownItem, + ElBadge, + ElTag, + ElText, + ElMenu, + ElMenuItem, + ElFooter, + ElMessage, + // ElFormItem, + // ElOption, UploadImg, UploadImgs, UploadFile, @@ -60,7 +116,10 @@ UserSelect, DeptSelect, ApiSelect, - Editor + Editor, + ElCollapse, + ElCollapseItem, + ElCard, ] // 参考 http://www.form-create.com/v3/element-ui/auto-import.html 文档 -- Gitblit v1.9.3