From af15a3b2746e8b6da90debf7bc72efd34befeb78 Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: 星期日, 23 四月 2023 14:53:11 +0800
Subject: [PATCH] !704 Vue的DictTag组件,当value没有匹配的值时,展示value Merge pull request !704 from Aurora/master

---
 ruoyi-ui/src/views/monitor/job/log.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/views/monitor/job/log.vue b/ruoyi-ui/src/views/monitor/job/log.vue
index d7c36f4..60bee1d 100644
--- a/ruoyi-ui/src/views/monitor/job/log.vue
+++ b/ruoyi-ui/src/views/monitor/job/log.vue
@@ -217,7 +217,7 @@
     };
   },
   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;

--
Gitblit v1.9.2