From 945fb282dd5c4c677fb0c30fe24b7df04ad857b0 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 07 六月 2020 16:11:36 +0800 Subject: [PATCH] 代码生成模板调整,字段为String并且必填则加空串条件 --- ruoyi-ui/src/views/monitor/job/index.vue | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/monitor/job/index.vue b/ruoyi-ui/src/views/monitor/job/index.vue index ee4ae4c..6f62271 100644 --- a/ruoyi-ui/src/views/monitor/job/index.vue +++ b/ruoyi-ui/src/views/monitor/job/index.vue @@ -397,7 +397,7 @@ type: "warning" }).then(function() { return runJob(row.jobId, row.jobGroup); - }).then(function() { + }).then(() => { this.msgSuccess("鎵ц鎴愬姛"); }).catch(function() {}); }, @@ -438,8 +438,6 @@ this.msgSuccess("淇敼鎴愬姛"); this.open = false; this.getList(); - } else { - this.msgError(response.msg); } }); } else { @@ -448,8 +446,6 @@ this.msgSuccess("鏂板鎴愬姛"); this.open = false; this.getList(); - } else { - this.msgError(response.msg); } }); } -- Gitblit v1.9.3