mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-05 17:11:26 +08:00
refactor(表单): 移除查询表单中时间组件的冗余默认值
清理多个模块查询表单中 RangePicker 组件的 defaultValue 设置,因为框架后续版本已修复重置问题,不再需要显式设置为 [null, null] 来确保表单重置正常工作。同时更新相关文档说明。
This commit is contained in:
@@ -26,7 +26,6 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
component: 'RangePicker',
|
||||
fieldName: 'createTime',
|
||||
label: '创建时间',
|
||||
defaultValue: [null, null],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
component: 'RangePicker',
|
||||
fieldName: 'createTime',
|
||||
label: '创建时间',
|
||||
defaultValue: [null, null],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
component: 'RangePicker',
|
||||
fieldName: 'createTime',
|
||||
label: '创建时间',
|
||||
defaultValue: [null, null],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user