Commit 30d6bd502fe143fd8ef4cafd475f21e98d5477e0
1 parent
e7af24b2
fix: data component create action not bind device tbDeviceId field
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -225,7 +225,7 @@ export const dataSourceSchema = (frontId?: FrontComponent): FormSchema[] => { |
225 | 225 | return data.map((item) => ({ |
226 | 226 | ...item, |
227 | 227 | label: item.alias || item.name, |
228 | - value: item.id, | |
228 | + value: item.tbDeviceId, | |
229 | 229 | deviceType: item.deviceType, |
230 | 230 | })); |
231 | 231 | } catch (error) {} | ... | ... |