Commit 5f994dd3e3e362156c96c51c2635c7c769661eda
Merge branch 'ww' into 'main'
fix: create device profileId bind error See merge request huang/yun-teng-iot-front!378
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -43,7 +43,7 @@ export const step1Schemas: FormSchema[] = [ | @@ -43,7 +43,7 @@ export const step1Schemas: FormSchema[] = [ | ||
43 | return { | 43 | return { |
44 | api: deviceProfile, | 44 | api: deviceProfile, |
45 | labelField: 'name', | 45 | labelField: 'name', |
46 | - valueField: 'id', | 46 | + valueField: 'tbProfileId', |
47 | onChange(_value: string, option: { deviceType: string }) { | 47 | onChange(_value: string, option: { deviceType: string }) { |
48 | const { deviceType } = option; | 48 | const { deviceType } = option; |
49 | setFieldsValue({ deviceType: deviceType }); | 49 | setFieldsValue({ deviceType: deviceType }); |