1
This commit is contained in:
parent
7fa1011ffd
commit
653ed9d6c2
@ -398,18 +398,18 @@ const ApplicationList: React.FC = () => {
|
||||
<div className="flex items-center gap-4">
|
||||
<Input
|
||||
placeholder="应用编码"
|
||||
value={form.getValues('appCode')}
|
||||
value={form.watch('appCode')}
|
||||
onChange={(e) => form.setValue('appCode', e.target.value)}
|
||||
className="max-w-[200px]"
|
||||
/>
|
||||
<Input
|
||||
placeholder="应用名称"
|
||||
value={form.getValues('appName')}
|
||||
value={form.watch('appName')}
|
||||
onChange={(e) => form.setValue('appName', e.target.value)}
|
||||
className="max-w-[200px]"
|
||||
/>
|
||||
<Select
|
||||
value={form.getValues('language')}
|
||||
value={form.watch('language')}
|
||||
onValueChange={(value) => form.setValue('language', value as DevelopmentLanguageTypeEnum)}
|
||||
>
|
||||
<SelectTrigger className="max-w-[200px]">
|
||||
@ -423,7 +423,7 @@ const ApplicationList: React.FC = () => {
|
||||
</SelectContent>
|
||||
</Select>
|
||||
<Select
|
||||
value={form.getValues('enabled')?.toString()}
|
||||
value={form.watch('enabled')?.toString()}
|
||||
onValueChange={(value) => form.setValue('enabled', value === 'true')}
|
||||
>
|
||||
<SelectTrigger className="max-w-[200px]">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user