| | |
| | | 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, |
| | |
| | | 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' |
| | |
| | | }) |
| | | |
| | | 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, |
| | |
| | | UserSelect, |
| | | DeptSelect, |
| | | ApiSelect, |
| | | Editor |
| | | Editor, |
| | | ElCollapse, |
| | | ElCollapseItem, |
| | | ElCard, |
| | | ] |
| | | |
| | | // 参考 http://www.form-create.com/v3/element-ui/auto-import.html 文档 |