fix: bug#10944
This commit is contained in:
parent
50ba72b1c5
commit
5ac7ff4906
|
@ -163,7 +163,6 @@ watchEffect(() => {
|
|||
const option = getOption(_options, props.value as string, props.valueName) // 回显label值
|
||||
myValue.value = props.value
|
||||
mySource.value = props.source
|
||||
console.log(_options, props.value, props.valueName, option)
|
||||
if (option) {
|
||||
label.value = option[props.labelName] || option.name
|
||||
treeOpenKeys.value = openKeysByTree(_options, props.value, props.valueName)
|
||||
|
@ -176,6 +175,8 @@ watchEffect(() => {
|
|||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped lang='less'>
|
||||
|
|
|
@ -356,7 +356,7 @@ const onDelete = () => {
|
|||
}
|
||||
|
||||
nextTick(() => {
|
||||
Object.assign(paramsValue, pick(props.value, ['column', 'options', 'termType', 'terms', 'type', 'value', 'metric']))
|
||||
Object.assign(paramsValue, pick(props.value, ['column', 'options', 'termType', 'terms', 'type', 'value', 'metric', 'key']))
|
||||
})
|
||||
|
||||
</script>
|
||||
|
|
|
@ -144,6 +144,10 @@ watchEffect(() => {
|
|||
}
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
console.log('terms-onMounted')
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped lang='less'>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
<AIcon type='CloseOutlined' />
|
||||
</div>
|
||||
</j-popconfirm>
|
||||
|
||||
<j-form-item
|
||||
:name='["branches", branchName, "when", whenName, "terms", props.name]'
|
||||
:rules='rules'
|
||||
|
|
Loading…
Reference in New Issue