review:【antd/ele】【mp】代码迁移的 review

This commit is contained in:
YunaiV
2025-12-07 12:51:51 +08:00
parent 2fc86b7bda
commit 03d25bf85a
14 changed files with 15 additions and 684 deletions

View File

@@ -5,6 +5,8 @@ import type { MpMessageApi } from '#/api/mp/message';
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { getRangePickerDefaultProps } from '#/utils';
/** 列表的搜索表单 */
export function useGridFormSchema(): VbenFormSchema[] {
return [
@@ -37,7 +39,8 @@ export function useGridFormSchema(): VbenFormSchema[] {
label: '创建时间',
component: 'RangePicker',
componentProps: {
showTime: true,
...getRangePickerDefaultProps(),
allowClear: true,
},
},
];