From 69f782991dcaaf5d3489389312783842785ff04f Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期三, 15 十二月 2021 10:48:23 +0800
Subject: [PATCH] 暂存

---
 src/pages/index/App.vue          |    6 +++---
 public/apps/loginData/readme.txt |    5 +++++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/public/apps/loginData/readme.txt b/public/apps/loginData/readme.txt
new file mode 100644
index 0000000..8796262
--- /dev/null
+++ b/public/apps/loginData/readme.txt
@@ -0,0 +1,5 @@
+1.在服务器上找到smart ai前端文件中的loginData文件夹
+以189为例 在/opt/vasystem/web/smart-ai/apps目录下
+2.图片直接替换即可 文件名保持一致
+3.文字在login.json中,用记事本打开修改对应键的值即可
+该处文字不需要的话,用空字符串占位
\ No newline at end of file
diff --git a/src/pages/index/App.vue b/src/pages/index/App.vue
index 31a6107..46e1cda 100644
--- a/src/pages/index/App.vue
+++ b/src/pages/index/App.vue
@@ -114,7 +114,7 @@
       if (this.active == 2) {
         const data = this.$refs[`form${this.active}`].getFormData();
         await saveRegInfo(data);
-        location.assign("/login");
+        location.assign("/view/login/");
         return;
       }
 
@@ -210,10 +210,10 @@
         }, 0);
       }
 
-      if (res.data.initPwd && res.data.initRegInfo) {
+      /* if (res.data.initPwd && res.data.initRegInfo) {
         location.assign("/login");
         return;
-      }
+      } */
 
       this.isWhite = false;
     },

--
Gitblit v1.8.0