暂提
This commit is contained in:
parent
5ee943a313
commit
32ef41b405
@ -117,9 +117,21 @@ export default {
|
||||
if (this.mapData.skinVO) {
|
||||
const config = this.map.getShowConfig();
|
||||
Object.assign(config, con);
|
||||
this.mapDevice = parser(this.mapData, this.mapData.skinVO.code, config);
|
||||
// this.mapDevice = parser(this.mapData, this.mapData.skinVO.code, config);
|
||||
this.mapDevice = this.$store.state.map.mapDevice;
|
||||
}
|
||||
this.setMap(this.mapData, this.mapDevice);
|
||||
const nameList = Object.keys(this.$store.state.map.map || {});
|
||||
let list = [];
|
||||
nameList.forEach(item => {
|
||||
if (item !== 'skinVO') {
|
||||
const data = this.$store.state.map.map[item];
|
||||
if (data && data.constructor === Array) {
|
||||
list = [...list, ...data];
|
||||
}
|
||||
}
|
||||
});
|
||||
this.$jlmap.updateShowMode(list, con.showMode); // 二次过滤
|
||||
} catch (error) {
|
||||
console.log('[ERROR] ', error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user