调整部分设置

This commit is contained in:
2024-04-14 22:09:26 +08:00
parent 372f52e655
commit fe7c6a5cb8
3 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ export default {
new DvCompData(this.config, this.instance).getData({type: this.areaId}).then(res => {
const json = JSON.parse(res.param)
this.mapData = json.map
this.config.summaryConfigs = json.sta?.map(e => ({...e, pos: "rt", display: "summary20"})) || []
this.config.summaryConfigs = json.sta?.map((e, i) => ({pos: ["rt", "lb", 'lt', 'rb'][i % 4], display: "summary20", ...e})) || []
})
}
},