数据切换到正式环境
This commit is contained in:
@@ -236,7 +236,12 @@ export default {
|
||||
queryTopologyDiagramPage({
|
||||
projectId: this.formData.projectId,
|
||||
}).then((res) => {
|
||||
this.imageList = res.data.records
|
||||
this.imageList = res.data.records.map(item=>{
|
||||
return {
|
||||
...item,
|
||||
filePath: this.$config.static + item.filePath
|
||||
}
|
||||
})
|
||||
this.activeGplot = this.imageList.findIndex(item => {
|
||||
return item.id === this.deviceInfo.id
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user