Update importCharacter function to allow multiple file selection

This commit is contained in:
kwaroran
2024-04-11 09:13:15 +09:00
parent 8c0fe0d795
commit c4f1f6d28b

View File

@@ -18,7 +18,7 @@ export const hubURL = "https://sv.risuai.xyz"
export async function importCharacter() {
try {
const files = await selectFileByDom(['png', 'json'])
const files = await selectFileByDom(['png', 'json'], 'multiple')
if(!files){
return
}