|
@@ -238,7 +238,8 @@ export const commonDataSourceSchemas = (): FormSchema[] => { |
|
@@ -238,7 +238,8 @@ export const commonDataSourceSchemas = (): FormSchema[] => { |
238
|
|
238
|
|
239
|
if (
|
239
|
if (
|
240
|
unref(selectWidgetKeys).componentKey ===
|
240
|
unref(selectWidgetKeys).componentKey ===
|
241
|
- ControlComponentEnum.LATERAL_NUMERICAL_CONTROL
|
241
|
+ ControlComponentEnum.LATERAL_NUMERICAL_CONTROL &&
|
|
|
242
|
+ isTcpProfile(formModel[DataSourceField.TRANSPORT_TYPE])
|
242
|
) {
|
243
|
) {
|
243
|
return result.filter((item) => item.codeType === TaskTypeEnum.MODBUS_RTU);
|
244
|
return result.filter((item) => item.codeType === TaskTypeEnum.MODBUS_RTU);
|
244
|
}
|
245
|
}
|