fix(admin): 迁移 antd v6 弃用 API 并清理控制台警告
- Card bordered -> variant;Modal maskClosable -> mask.closable - InputNumber addonBefore/After -> prefix/suffix;Statistic valueStyle -> styles.content - Alert message -> title;Steps items.description -> items.content - 移除考勤页未挂载 Form 上的 setFieldsValue,消除 useForm 警告
This commit is contained in:
@@ -212,7 +212,7 @@ export const CheckInModal: React.FC<{
|
||||
label="押金金额"
|
||||
rules={[{ required: true, message: '请输入押金金额' }]}
|
||||
>
|
||||
<InputNumber min={0.01} precision={2} addonAfter="元" style={{ width: '100%' }} />
|
||||
<InputNumber min={0.01} precision={2} suffix="元" style={{ width: '100%' }} />
|
||||
</Form.Item>
|
||||
) : null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user