From a6cf568459bd004d5302ddaaa9310ae9c885f362 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 24 八月 2020 14:55:56 +0800
Subject: [PATCH] #
---
 src/main/webapp/views/console.html  |    8 +++++++-
 src/main/webapp/static/js/common.js |    2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js
index e4ef932..2009a2e 100644
--- a/src/main/webapp/static/js/common.js
+++ b/src/main/webapp/static/js/common.js
@@ -142,7 +142,7 @@
                     } else if (res.code === 403){
                         window.location.href = baseUrl+"/login";
                     }  else {
-                        alert(res.msg);
+                        layer.msg(res.msg, {icon: 2});
                     }
                 },
                 error: function (res, type) {
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 95495c2..0bbd568 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -11,8 +11,8 @@
     <link rel="stylesheet" type="text/css" href="../static/css/common.css">
     <link rel="stylesheet" type="text/css" href="../static/css/console.css">
     <script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
-    <script type="text/javascript" src="../static/js/common.js"></script>
     <script type="text/javascript" src="../static/js/layer/layer.js"></script>
+    <script type="text/javascript" src="../static/js/common.js"></script>
     <style>
         /* layer 娣辫摑鑹叉寜閽慨鏀� */
         /*.layui-layer-lan .layui-layer-btn {*/
@@ -86,6 +86,12 @@
 
 
     <!-- 宸﹁緭閫佺嚎 -->
+
+    <!-- 鍙拌溅1 -->
+
+
+
+
     <!-- 绗竴鍒楋紙瀹藉害 100px锛� -->
     <div class="site-row site-row-1">
         <div id="site-7" class="site" style="height: 40px;line-height: 40px">7</div>
--
Gitblit v1.9.1