mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🐛 修正判断条件
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user