mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🚸 三状态
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user