Commit e7af24b20091eaedbe15bce15708634f157bf8ee
1 parent
bdcebf7f
fix: rule lingedge add screen linkedge device id not use tbDeviceId
Showing
2 changed files
with
3 additions
and
3 deletions
... | ... | @@ -289,7 +289,7 @@ export const trigger_condition_schema: FormSchema[] = [ |
289 | 289 | deviceProfileId, |
290 | 290 | }, |
291 | 291 | labelField: 'name', |
292 | - valueField: 'id', | |
292 | + valueField: 'tbDeviceId', | |
293 | 293 | }; |
294 | 294 | } |
295 | 295 | }, |
... | ... | @@ -483,7 +483,7 @@ export const actionSchema: FormSchema[] = [ |
483 | 483 | deviceProfileId, |
484 | 484 | }, |
485 | 485 | labelField: 'name', |
486 | - valueField: 'id', | |
486 | + valueField: 'tbDeviceId', | |
487 | 487 | }; |
488 | 488 | } |
489 | 489 | }, | ... | ... |
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | import { BasicForm, useForm } from '/@/components/Form/index'; |
18 | 18 | import { Icon } from '/@/components/Icon'; |
19 | 19 | import { Tooltip } from 'ant-design-vue'; |
20 | - import { isType } from '../config/formatData.ts'; | |
20 | + import { isType } from '../config/formatData'; | |
21 | 21 | defineProps({ |
22 | 22 | index: { |
23 | 23 | type: Number, | ... | ... |