Commit 30d6bd502fe143fd8ef4cafd475f21e98d5477e0

Authored by ww
1 parent e7af24b2

fix: data component create action not bind device tbDeviceId field

@@ -225,7 +225,7 @@ export const dataSourceSchema = (frontId?: FrontComponent): FormSchema[] => { @@ -225,7 +225,7 @@ export const dataSourceSchema = (frontId?: FrontComponent): FormSchema[] => {
225 return data.map((item) => ({ 225 return data.map((item) => ({
226 ...item, 226 ...item,
227 label: item.alias || item.name, 227 label: item.alias || item.name,
228 - value: item.id, 228 + value: item.tbDeviceId,
229 deviceType: item.deviceType, 229 deviceType: item.deviceType,
230 })); 230 }));
231 } catch (error) {} 231 } catch (error) {}