feat: jwt performance

This commit is contained in:
DarkSky committed 2022-07-26 17:11:01 +08:00
1 parent 3ec95e4377
commit c39814047a
9 files changed
+204 -173

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ export function getPageId() {
return path ? path[2] : undefined;
}
export async function sleep(delay?: number) {
export async function sleep(delay = 100) {
return new Promise(res => {
window.setTimeout(() => {
res(true);