fix parse kv

This commit is contained in:
kwaroran
2024-07-06 03:59:09 +09:00
parent e4315b333a
commit 185dd5bc6b

View File

@@ -936,6 +936,7 @@ export const isKnownUri = (uri:string) => {
} }
export function parseKeyValue(template:string){ export function parseKeyValue(template:string){
try {
if(!template){ if(!template){
return [] return []
} }
@@ -950,6 +951,9 @@ export function parseKeyValue(template:string){
} }
return keyValue return keyValue
} catch (error) {
return []
}
} }
export const sortableOptions = { export const sortableOptions = {