Commit a27a5e419bf372b7976e8c11bc5c6c69d36a751f

Authored by ww
1 parent ca118a71

fix: ota manage create pakcage select device configuration has exist can not clear

... ... @@ -26,7 +26,7 @@
26 26 {
27 27 resultField: '',
28 28 labelField: 'label',
29   - value: 'value',
  29 + valueField: 'value',
30 30 immediate: true,
31 31 }
32 32 );
... ... @@ -83,7 +83,6 @@
83 83 if (props.resultField) {
84 84 options.value = get(res, props.resultField) || [];
85 85 }
86   - console.log('fetch', unref(options));
87 86 emitChange();
88 87 } catch (error) {
89 88 console.warn(error);
... ...
... ... @@ -103,12 +103,6 @@ export const formSchema: FormSchema[] = [
103 103 },
104 104 {
105 105 field: PackageField.DEVICE_PROFILE_INFO,
106   - label: '',
107   - component: 'Input',
108   - show: false,
109   - },
110   - {
111   - field: PackageField.DEVICE_PROFILE_INFO,
112 106 label: '设备配置',
113 107 component: 'ApiSearchSelect',
114 108 helpMessage: ['上传的包仅适用于具有所选配置文件的设备'],
... ...
... ... @@ -445,7 +445,7 @@ export const mapFormSchema: FormSchema[] = [
445 445 },
446 446 });
447 447 },
448   - placeholder: '请输入纬度属性',
  448 + placeholder: '请选择纬度属性',
449 449 getPopupContainer: () => document.body,
450 450 };
451 451 },
... ...