fix: array output now join with "" instead of ","

This commit is contained in:
Harttle
2022-02-20 13:03:40 +08:00
parent 78ce5662df
commit ab5e245fba
5 changed files with 8 additions and 7 deletions
+1
View File
@@ -32,6 +32,7 @@ export function stringify (value: any): string {
value = toValue(value)
if (isString(value)) return value
if (isNil(value)) return ''
if (isArray(value)) return value.map(x => stringify(x)).join('')
return String(value)
}