feat: 完善 ele vxe-table 适配,完善文件和图片上传组件、字典组件、文档组件迁移,完善租户和租户套餐管理页面

This commit is contained in:
puhui999
2025-05-11 22:33:15 +08:00
parent 0155198f4e
commit ca6d36b6e2
18 changed files with 2047 additions and 4 deletions

View File

@@ -21,6 +21,8 @@ import { $t } from '@vben/locales';
import { ElNotification } from 'element-plus';
import { FileUpload, ImageUpload } from '#/components/upload';
const ElButton = defineAsyncComponent(() =>
Promise.all([
import('element-plus/es/components/button/index'),
@@ -167,7 +169,9 @@ export type ComponentType =
| 'CheckboxGroup'
| 'DatePicker'
| 'Divider'
| 'FileUpload'
| 'IconPicker'
| 'ImageUpload'
| 'Input'
| 'InputNumber'
| 'RadioGroup'
@@ -315,6 +319,8 @@ async function initComponentAdapter() {
},
TreeSelect: withDefaultPlaceholder(ElTreeSelect, 'select'),
Upload: ElUpload,
FileUpload,
ImageUpload,
};
// 将组件注册到全局共享状态中