From f9b459a3fefd5fab0ee8e19268adb9d9eadab2a7 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 17 十二月 2024 18:16:58 +0800 Subject: [PATCH] 预测项setting的值修改最大输入长度为1000 --- 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