SERVICE AND PROCESS 页面中serce下拉框的回显问题
This commit is contained in:
parent
07afefae43
commit
a88b3f476a
|
@ -376,7 +376,8 @@ export default {
|
|||
}
|
||||
})
|
||||
let serverId = this.$route.query.serverId
|
||||
this.queryParams.server = serverId || res.result[0].hostId
|
||||
|
||||
this.queryParams.server = res.result.find((item) => item.sourceId === serverId).hostId || res.result[0].hostId
|
||||
this.getRankProcesses()
|
||||
} else {
|
||||
this.$message.warning('This operation fails. Contact your system administrator')
|
||||
|
|
Loading…
Reference in New Issue
Block a user