Commit 8adb6e9bc799e57dc4fe8832ce70df89613bf18a

Authored by fengwotao
1 parent e6225729

fix: DEFECT-1682 设备导入时,网关子设备选择支持查询功能

@@ -212,6 +212,10 @@ export const basicInfoForm: FormSchema[] = [ @@ -212,6 +212,10 @@ export const basicInfoForm: FormSchema[] = [
212 labelField: 'name', 212 labelField: 'name',
213 valueField: 'tbDeviceId', 213 valueField: 'tbDeviceId',
214 getPopupContainer: () => document.body, 214 getPopupContainer: () => document.body,
  215 + showSearch: true,
  216 + filterOption: (inputValue: string, options: Record<'label', string>) => {
  217 + return options.label.includes(inputValue);
  218 + },
215 }; 219 };
216 }, 220 },
217 }, 221 },