调整部分设置
This commit is contained in:
@@ -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})) || []
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user