research update

This commit is contained in:
2023-06-09 17:30:58 +08:00
parent 575bbc3962
commit 5940dfa4aa
31 changed files with 1648 additions and 1631 deletions

View File

@ -134,14 +134,13 @@ const handleInputChange = debounce((value) => {
watchEffect(() => {
if (showPopOver.value) return;
if (modelValue.value) {
console.log(modelValue.value)
optionLabelWhenNotShowPop.value =
options.value.find((el) => el[props.prop.value] === modelValue.value)?.[
props.prop.label
] ??
(echoLabel.value.length ? echoLabel.value : null) ??
props.defaultLabel ??
"...";
props.defaultLabel ??
"...";
} else {
optionLabelWhenNotShowPop.value = "";
placeholderWhenNotShowPop.value = props.placeholder;