[fix] new backupformating

This commit is contained in:
kwaroran
2023-11-17 22:41:20 +09:00
parent 79875661c5
commit 929ed557d2
2 changed files with 60 additions and 34 deletions

View File

@@ -60,6 +60,19 @@ export async function alertSelect(msg:string[]){
return get(alertStore).msg
}
export async function alertErrorWait(msg:string){
alertStore.set({
'type': 'wait2',
'msg': msg
})
while(true){
if (get(alertStore).type === 'none'){
break
}
await sleep(10)
}
}
export function alertMd(msg:string){
alertStore.set({
'type': 'markdown',