From e060a8863f67dd42589c76bcee373ce8f8013ec3 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期二, 14 十二月 2021 16:37:59 +0800
Subject: [PATCH] 登录配置化

---
 src/pages/index/App.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/pages/index/App.vue b/src/pages/index/App.vue
index 4751673..31a6107 100644
--- a/src/pages/index/App.vue
+++ b/src/pages/index/App.vue
@@ -83,10 +83,10 @@
       } else {
         //缃戠粶鏂綉鏁堟灉鍥惧嚭鏉ュ悗锛屽皢姝ゅ湴鏀逛负璺宠浆璺緞鍒版晥鏋滃浘涓�
         message = "鏈厤缃綉缁�";
+        this.$notify({
+          message: message,
+        });
       }
-      this.$notify({
-        message: message,
-      });
     });
   },
   data() {
@@ -114,7 +114,7 @@
       if (this.active == 2) {
         const data = this.$refs[`form${this.active}`].getFormData();
         await saveRegInfo(data);
-        location.assign("/view/login");
+        location.assign("/login");
         return;
       }
 
@@ -211,7 +211,7 @@
       }
 
       if (res.data.initPwd && res.data.initRegInfo) {
-        location.assign("/view/login");
+        location.assign("/login");
         return;
       }
 

--
Gitblit v1.8.0