From a6419abb1e5dc63f8957da5eb45c82d49b86cbc9 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 07 一月 2025 16:38:47 +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