🐛 Fix: fix url encode bug when filename contains special chars

This commit is contained in:
萌萌哒赫萝
2023-03-25 21:39:40 +08:00
parent 5b396ffba0
commit a7361905f8
2 changed files with 1 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ export const isUrlEncode = (url: string): boolean => {
return url !== decodeURI(url)
} catch (e) {
// if some error caught, try to let it go
return true
return false
}
}