From f68dd32cdd75924ebded3800cf37fa9110f9ec01 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 07 六月 2024 10:31:33 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/controller/ConsoleController.java | 2 +-
src/main/webapp/views/index.html | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/ConsoleController.java b/src/main/java/com/zy/asrs/controller/ConsoleController.java
index 74a38d8..d382695 100644
--- a/src/main/java/com/zy/asrs/controller/ConsoleController.java
+++ b/src/main/java/com/zy/asrs/controller/ConsoleController.java
@@ -123,7 +123,7 @@
}
}
- if (!Cools.isEmpty(msg)){
+ if (!Cools.isEmpty(msg.toString())){
return R.error().add(msg.toString());
}
return R.ok();
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index b07f40b..5c1ae32 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -208,7 +208,6 @@
headers: {'token': localStorage.getItem('token')},
method: 'POST',
success: function (res) {
- console.log(res.code)
if (res.code === 200){
}else if (res.code === 500){
@@ -228,7 +227,6 @@
title: '鎶ヨ鎻愮ず'
,content: msg,
yes: function (index,layero) {
- console.log(1111)
sure = false
layer.close(index)
}
--
Gitblit v1.9.1