比如 location=“重庆市江北区 巴巴拉拉学校”
if (location && typeof location !== 'object') {
location = location.split(' ')
}
得到的结果:["重庆市江北区 ", "巴巴拉拉学校"]
比如 location=“重庆市江北区 巴巴拉拉学校”
if (location && typeof location !== 'object') {
location = location.split(' ')
}
得到的结果:["重庆市江北区 ", "巴巴拉拉学校"]