feat(indexSun): 添加年份输入字段
- 在表单中新增年份输入框配置 - 设置默认值为当前年份 - 使用 dayjs 获取当前年份作为默认值 - 配置字段类型为 input,标签显示为 年份
This commit is contained in:
@@ -891,6 +891,13 @@ export const twoRNewForm = [
|
||||
placeholder: '请输入单位',
|
||||
defaultValue: '',
|
||||
},
|
||||
{
|
||||
label: '年份',
|
||||
field: 'year',
|
||||
type: 'input',
|
||||
placeholder: '请输入年份',
|
||||
defaultValue: String(dayjs().year()),
|
||||
},
|
||||
];
|
||||
|
||||
export const oneRNewColumns = [
|
||||
|
||||
Reference in New Issue
Block a user