migrate app lock settings page to composition API and typescript

This commit is contained in:
MaysWind
2025-01-16 22:37:35 +08:00
parent adebc96637
commit 4f21762533
7 changed files with 310 additions and 301 deletions
+1 -5
View File
@@ -230,11 +230,7 @@ export function getTextAfter(fullText: string, text: string): string {
return '';
}
export function base64encode(arrayBuffer: ArrayBuffer): string | null {
if (!arrayBuffer) {
return null;
}
export function base64encode(arrayBuffer: ArrayBuffer): string {
return btoa(String.fromCharCode.apply(null, Array.from(new Uint8Array(arrayBuffer))));
}