mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-26 03:04:31 +08:00
refactor(表单): 移除查询表单中时间组件的冗余默认值
清理多个模块查询表单中 RangePicker 组件的 defaultValue 设置,因为框架后续版本已修复重置问题,不再需要显式设置为 [null, null] 来确保表单重置正常工作。同时更新相关文档说明。
This commit is contained in:
@@ -29,7 +29,6 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
component: 'RangePicker',
|
||||
fieldName: 'dateTime',
|
||||
label: '登录日期',
|
||||
defaultValue: [null, null],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -45,7 +45,6 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
componentProps: {
|
||||
valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
||||
},
|
||||
defaultValue: [null, null],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user