🚸 三状态

This commit is contained in:
BTMuli
2026-03-03 19:07:08 +08:00
parent 5e6e7ee047
commit 8c8f8e3a2d

View File

@@ -263,12 +263,12 @@ watch(
},
);
function toggleSort(value: boolean | null): boolean {
function toggleSort(value: boolean | null): boolean | null {
switch (value) {
case true:
return false;
case false:
return true;
return null;
case null:
return true;
}