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 | 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: ['上传的包仅适用于具有所选配置文件的设备'], | ... | ... |