Merge pull request #6594 from dataease/pr@dev@fix_map_mapping

fix: 地图高级配置最后一页显示undefined
This commit is contained in:
fit2cloud-chenyw 2023-11-08 15:39:54 +08:00 committed by GitHub
commit 23d3c66320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,7 +227,9 @@ export default {
} }
features.forEach(feature => { features.forEach(feature => {
this.mappingForm[cCode][feature.properties.name || feature.properties.NAME] = null if (feature.properties.name || feature.properties.NAME) {
this.mappingForm[cCode][feature.properties.name || feature.properties.NAME] = null
}
}) })
} }
const cCode = this.currentAreaCode const cCode = this.currentAreaCode