CN-1484 fix: 调整error提示的位置

This commit is contained in:
chenjinsong
2023-12-01 18:08:38 +08:00
parent 60d06792b4
commit 2c12284415
3 changed files with 5 additions and 5 deletions

View File

@@ -1,9 +1,8 @@
.error-component {
position: absolute;
//width: 100%;
//height: 100%;
left: 0;
top: 0;
z-index: 10000;
}
.error-block {
display: inline-block;

View File

@@ -16,6 +16,7 @@
}
}
.subscriber-map-body {
position: relative;
border: 1px solid #E2E5EC;
border-radius: 4px;
height: calc(100% - 34px);

View File

@@ -149,7 +149,7 @@ export default {
})
},
queryData () {
return new Promise((resolve, reject) => {
/*return new Promise((resolve, reject) => {
resolve({
status: 200,
data: {
@@ -189,8 +189,8 @@ export default {
}
}
})
})
// return axios.get(`${api.entity.locationTrack}?resource=${this.entity.entityName}`)
})*/
return axios.get(`${api.entity.locationTrack}?resource=${this.entity.entityName}`)
},
generateRouteGEOJSON (result) {
return {