1
This commit is contained in:
@@ -134,11 +134,11 @@ export default {
|
||||
}
|
||||
return 'F-' + s
|
||||
},
|
||||
/** 地址压成一行:换行/多空格合并为单空格,去掉中文逗号 */
|
||||
/** 地址压成一行:换行/多空格合并为单空格,去掉中英文逗号 */
|
||||
compressAddressOneLine(raw) {
|
||||
if (raw == null) return ''
|
||||
return String(raw)
|
||||
.replace(/,/g, '')
|
||||
.replace(/[,,]/g, '')
|
||||
.replace(/\s+/g, ' ')
|
||||
.trim()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user