|
|
@ -122,15 +122,14 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
'form.divPosition': (newVal, oldVal) => { |
|
|
|
// 解决单选,多选切换后, 上次值残留 |
|
|
|
'form.divPosition'(newVal, oldVal) { |
|
|
|
if (newVal && newVal.includes('OAO')) { |
|
|
|
this.isMultiple = true |
|
|
|
} |
|
|
|
// this.$nextTick(function() { |
|
|
|
// const label = this.$refs.paramsSelect.selectedLabel |
|
|
|
// console.log(label) |
|
|
|
// }) |
|
|
|
// 解决单选,多选切换后, 上次值残留 |
|
|
|
this.$nextTick(function() { |
|
|
|
this.$refs.paramsSelect.selectedLabel = '' |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|