Update importCharacter function to allow multiple file selection
This commit is contained in:
@@ -18,7 +18,7 @@ export const hubURL = "https://sv.risuai.xyz"
|
|||||||
|
|
||||||
export async function importCharacter() {
|
export async function importCharacter() {
|
||||||
try {
|
try {
|
||||||
const files = await selectFileByDom(['png', 'json'])
|
const files = await selectFileByDom(['png', 'json'], 'multiple')
|
||||||
if(!files){
|
if(!files){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user