From dc04c05b22a5323925218092a0687555a2a5c9c1 Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期四, 29 九月 2022 18:39:31 +0800
Subject: [PATCH] 上报管理界面,案件池的违规、违建登记页面

---
 src/views/login/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index bfd8c3e..99a1c36 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -125,6 +125,7 @@
         })
         .then(function (response) {
           if (response.code === 200) {
+            // 璁剧疆toke鏃堕棿
             // 淇濆瓨token
             console.log(response);
             sessionStorage.setItem('token',response.data.token);
@@ -135,7 +136,10 @@
           }else{
             that.$refs.loginForm.validate((valid)=>{
               if(valid){
-                that.$message.error(response.data.message);
+                that.$message({
+                  type:'warning',
+                  message:response.message
+                })
               }
             })
           }

--
Gitblit v1.8.0