fix: 优化导入提示,优化坐标判断
This commit is contained in:
@@ -116,7 +116,7 @@ export default {
|
||||
},
|
||||
setLatlng () {
|
||||
const lnglat = this.lnglat.split(',')
|
||||
if (!lnglat[0] && !lnglat[1]) {
|
||||
if (lnglat[0] !== 'undefined' && lnglat[1] !== 'undefined') {
|
||||
this.mapParam.longitude = lnglat[0]
|
||||
this.mapParam.latitude = lnglat[1]
|
||||
} else {
|
||||
|
||||
@@ -276,7 +276,7 @@ export default {
|
||||
this.importBox.value = 1
|
||||
this.importBox.record = 'all'
|
||||
})
|
||||
}, 100)
|
||||
}, 200)
|
||||
},
|
||||
downloadTemplate () {
|
||||
const language = localStorage.getItem('nz-language') || 'en' // 初始未选择默认 en 英文
|
||||
|
||||
Reference in New Issue
Block a user