mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
migrate app lock settings page to composition API and typescript
This commit is contained in:
+1
-5
@@ -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))));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user