fix: 解决旧版飞线地图配置缺少字段问题

main
hong.yang 1 year ago
parent 583e6b7f66
commit 1012062c46

@ -1009,6 +1009,27 @@ export default {
if (this.config.dataSource && this.config.dataSource.businessKey) {
this.getDataSetDetailsById(this.config.dataSource.businessKey, 'initial')
}
// TODO 线
if (this.config.option.displayOption.flyMapField && this.config.option.displayOption.flyMapField.enable) {
if (!this.config.customize.dataField) {
this.config.customize.dataField = {
//
fromName: '',
//
fromLng: '',
//
fromLat: '',
//
toName: '',
//
toLng: '',
//
toLat: '',
//
value: '',
}
}
}
},
methods: {
//

Loading…
Cancel
Save