From 5b38bf9c91de7eb259d016762604eb271b8f64ef Mon Sep 17 00:00:00 2001 From: jingna <1264204245@qq.com> Date: Fri, 26 Jun 2026 13:35:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=87=BA=E6=8E=A7=E5=88=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/switchQuantity/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/switchQuantity/index.vue b/frontend/src/views/switchQuantity/index.vue index f073f1a..44e1652 100644 --- a/frontend/src/views/switchQuantity/index.vue +++ b/frontend/src/views/switchQuantity/index.vue @@ -62,7 +62,7 @@ function outputChange(item:any,index:any){ type: 'warning' }).then(() => { controlSwitch(index + 1, item ? 0 : 1).then(res => { - if (res.data.control_status === '执行成功') { + if (res.data) { ElMessage.success('操作成功') } else {