Explorar o código

:bug: Fixing a bug. fix #419 【定时任务管理】新增定时任务,提示任务名称与任务组重复,请确认后重新添加

冷冷 %!s(int64=6) %!d(string=hai) anos
pai
achega
477505debe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/daemon/job-manage/index.vue

+ 1 - 1
src/views/daemon/job-manage/index.vue

@@ -472,7 +472,7 @@ export default {
         'jobName': row.jobName,
         'jobGroup': row.jobGroup
       }).then(response => {
-        const result = response.data.data
+        const result = response.data.code
         if (result !== 0) {
           this.$notify.error({
             title: '错误',