wxwork.config整合

This commit is contained in:
aixianling
2022-07-20 12:07:23 +08:00
parent 05bb18f8f9
commit 7793200c2c
6 changed files with 10 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ export default {
labels: []
}
},
computed: {...mapState(['user', 'config'])},
computed: {...mapState(['user', 'wxwork'])},
created() {
this.$dict.load('girdType')
this.areaId = this.user.areaId
@@ -178,7 +178,7 @@ export default {
});
map.fitBounds(bounds, {padding: 100})
} else {
map.setCenter(this.config.latlng)
map.setCenter(this.wxwork.config.latlng)
}
} else {