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