From c8ca14407cd83d0e03fb017ad97c0464bd0c42c4 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 18 三月 2025 10:46:28 +0800
Subject: [PATCH] #
---
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