fix: 修复前端 TypeScript 类型错误

- file-upload.ts: 重写上传逻辑,正确使用 files 数组和类型
- CompanyMenuDrawer/CompanyPermissionDrawer: 修复 Tree @check 事件类型
- 移除各页面未使用的导入和函数
- promotion-fee: 修复类型导出问题
- 修复 VxeGrid 配置重复和无效属性问题
This commit is contained in:
小蟑螂
2026-05-07 20:41:03 +08:00
parent ff790a7a97
commit d8da5a1b33
17 changed files with 314 additions and 100 deletions
@@ -2,12 +2,12 @@
import type { VxeGridProps } from '#/adapter/vxe-table';
import type { PermissionVO } from '#/api/system/permission';
import { computed, ref } from 'vue';
import { ref } from 'vue';
import { Page } from '@vben/common-ui';
import { createIconifyIcon } from '@vben/icons';
import { Button, message, Popconfirm, Space, Tag, Spin } from 'ant-design-vue';
import { Button, message, Popconfirm, Space, Tag } from 'ant-design-vue';
import { useVbenVxeGrid } from '#/adapter/vxe-table';
import {
@@ -100,11 +100,10 @@ const gridOptions: VxeGridProps<any> = {
height: 'auto',
border: true,
stripe: true,
rowConfig: { isHover: true },
showOverflow: true,
size: 'small',
expandAll: false,
rowConfig: {
isHover: true,
drag: true,
},
rowDragConfig: {