修复调度日志点击多次数据不变化的问题

Signed-off-by: 也曾为你像超人 <1553592282@qq.com>
This commit is contained in:
也曾为你像超人
2022-10-31 05:45:21 +00:00
committed by Gitee
parent ebb9f15a75
commit 101e15d83f
3 changed files with 3 additions and 3 deletions

View File

@ -217,7 +217,7 @@ export default {
};
},
created() {
const jobId = this.$route.query.jobId;
const jobId = this.$route.params && this.$route.params.jobId;
if (jobId !== undefined && jobId != 0) {
getJob(jobId).then(response => {
this.queryParams.jobName = response.data.jobName;