chore: 🔨 规范注释

This commit is contained in:
ray
2024-10-31 01:06:26 +08:00
parent 98ee8ff2d1
commit 2caf089eac
3 changed files with 13 additions and 11 deletions

View File

@@ -124,7 +124,8 @@ watch(
(option) => option.value === selectedValue.value
);
if (!matchedOption && props.type !== "checkbox") {
selectedValue.value = ""; // 如果找不到匹配项,清空选中
// 如果找不到匹配项,清空选中
selectedValue.value = "";
}
}
}