fix: update masked secret environment value after replace action (#5335)
This commit is contained in:
parent
f430caa1c0
commit
24c0f9370b
1 changed files with 13 additions and 0 deletions
|
|
@ -177,6 +177,19 @@ watch(
|
|||
}
|
||||
)
|
||||
|
||||
//update secretText when modelValue changes
|
||||
watch(
|
||||
() => props.modelValue,
|
||||
(newVal) => {
|
||||
if (secretText.value !== newVal) {
|
||||
secretText.value = newVal
|
||||
}
|
||||
},
|
||||
{
|
||||
immediate: true,
|
||||
}
|
||||
)
|
||||
|
||||
onClickOutside(autoCompleteWrapper, () => {
|
||||
showSuggestionPopover.value = false
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue