🐛 修正判断条件

This commit is contained in:
BTMuli
2026-01-13 00:41:33 +08:00
parent ca0209e40a
commit 219256d542

View File

@@ -46,7 +46,8 @@ watch(
);
function toClick(): void {
if (props.outerClose !== undefined && props.outerClose) return;
// 当且仅当 outerClose === false 时不处理
if (props.outerClose !== undefined && !props.outerClose) return;
model.value = false;
}
</script>