From 151fe973ecbfe95d2b8c6f4e2d305ba26173da75 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 18 三月 2025 17:04:01 +0800 Subject: [PATCH] 整理代码 --- src/views/performance/manHour/workTimeConfig.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/performance/manHour/workTimeConfig.vue b/src/views/performance/manHour/workTimeConfig.vue index 4fcad16..87be98a 100644 --- a/src/views/performance/manHour/workTimeConfig.vue +++ b/src/views/performance/manHour/workTimeConfig.vue @@ -277,9 +277,10 @@ }) .then(() => { deleteAuxiliaryWorkingHours({ id: row.id }).then((res) => { - if (res.code == 201) return; - this.$message.success("鍒犻櫎鎴愬姛"); - this.refresh(); + if (res.code == 200){ + this.$message.success("鍒犻櫎鎴愬姛"); + this.refresh(); + } }); }) .catch(() => { }); -- Gitblit v1.9.3