From 7d821ed04389ef4141731c06ae4a470dec0136e9 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Wed, 28 Jan 2026 21:16:05 +0800
Subject: [PATCH] 优化代码
---
ruoyi-ui/src/views/monitor/job/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/monitor/job/index.vue b/ruoyi-ui/src/views/monitor/job/index.vue
index 792d2d9..2ba7f65 100644
--- a/ruoyi-ui/src/views/monitor/job/index.vue
+++ b/ruoyi-ui/src/views/monitor/job/index.vue
@@ -477,13 +477,13 @@
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.jobId != undefined) {
- updateJob(this.form).then(response => {
+ updateJob(this.form).then(() => {
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
});
} else {
- addJob(this.form).then(response => {
+ addJob(this.form).then(() => {
this.$modal.msgSuccess("新增成功");
this.open = false;
this.getList();
--
Gitblit v1.9.3