📝 Docs: update documents

This commit is contained in:
萌萌哒赫萝
2023-08-22 05:14:23 -07:00
parent 16bc8ecbd6
commit 1dcf54f421
9 changed files with 120 additions and 118 deletions

View File

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