From afc12f9bbd372b55a4539c1fc40b17dbd5949cb1 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期二, 19 八月 2025 13:44:38 +0800
Subject: [PATCH] 1
---
src/main/webapp/views/console1.html | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/main/webapp/views/console1.html b/src/main/webapp/views/console1.html
index 8fc40bb..ae94ed5 100644
--- a/src/main/webapp/views/console1.html
+++ b/src/main/webapp/views/console1.html
@@ -655,10 +655,17 @@
data:{},
method:'get',
success:function (res) {
- that.$message({
- message: that.currentLev + '灞傚湴鍥鹃噸缃畬鎴�',
- type: 'success'
- });
+ if (res.code === 200) {
+ that.$message({
+ message: that.currentLev + '灞傚湴鍥鹃噸缃畬鎴�',
+ type: 'success'
+ });
+ }else {
+ that.$message({
+ message: res.msg,
+ type: 'error'
+ });
+ }
}
})
},
--
Gitblit v1.9.1