fix(component): 🐛 下拉代码, 解决popup的ref可能为空的情况

This commit is contained in:
Json_Lee
2025-06-02 11:43:07 +08:00
parent 165a4748bb
commit edcf1d5941
3 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ async function showPopover() {
// 点击
function handleClick(item: GetSessionListVO) {
modelStore.setCurrentModelInfo(item);
popoverRef.value.hide();
popoverRef.value?.hide?.();
}
</script>