Commit 3fb4ab6208ac9b78755fc63327fd98c31397ae3e
1 parent
ea33b4b9
fix: create device profileId bind error
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -43,7 +43,7 @@ export const step1Schemas: FormSchema[] = [ |
43 | 43 | return { |
44 | 44 | api: deviceProfile, |
45 | 45 | labelField: 'name', |
46 | - valueField: 'id', | |
46 | + valueField: 'tbProfileId', | |
47 | 47 | onChange(_value: string, option: { deviceType: string }) { |
48 | 48 | const { deviceType } = option; |
49 | 49 | setFieldsValue({ deviceType: deviceType }); | ... | ... |