fix(component): 🐛 下拉代码, 解决popup的ref可能为空的情况
This commit is contained in:
@@ -40,7 +40,7 @@ async function showPopover() {
|
||||
// 点击
|
||||
function handleClick(item: GetSessionListVO) {
|
||||
modelStore.setCurrentModelInfo(item);
|
||||
popoverRef.value.hide();
|
||||
popoverRef.value?.hide?.();
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user