fix: autofilled in add user form

This commit is contained in:
jialin
2026-03-17 16:35:55 +08:00
committed by jialin
parent f6d5733183
commit 194b7aff2e
2 changed files with 3 additions and 1 deletions
@@ -130,7 +130,7 @@ const useModelsColumns = ({
render: (text: string, record: ListItem) => (
<span className="flex-center" style={{ maxWidth: '100%' }}>
<AutoTooltip ghost>
<span className="m-r-5">{text}</span>
<span>{text}</span>
</AutoTooltip>
<ModelTag categoryKey={record.categories?.[0] || ''} />
</span>
+2
View File
@@ -77,6 +77,7 @@ const AddModal: React.FC<AddModalProps> = ({
]}
>
<SealInput.Input
autoComplete="off"
label={intl.formatMessage({ id: 'common.table.name' })}
required
></SealInput.Input>
@@ -150,6 +151,7 @@ const AddModal: React.FC<AddModalProps> = ({
]}
>
<SealInput.Password
autoComplete={'new-password'}
label={intl.formatMessage({ id: 'common.form.password' })}
required={action === PageAction.CREATE}
></SealInput.Password>