Pārlūkot izejas kodu

头部和login及config问题 setting

秦鹏 3 gadi atpakaļ
vecāks
revīzija
b47f2cfd05
3 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. 3 2
      src/components/Header.vue
  2. 1 0
      src/views/login.vue
  3. 1 1
      vue.config.js

+ 3 - 2
src/components/Header.vue

@@ -247,6 +247,7 @@ export default {
         window.location.href = "/";
         return;
       }
+
     },
     // 切换登录的注册
     cutLoginReg() {
@@ -395,7 +396,7 @@ export default {
           if (res.child_sys_list && res.child_sys_list.length > 0) {
             _this.projectList = res.child_sys_list;
             _this.projectList.forEach((item, index) => {
-              if (item.key == "GCLS-TRC") {
+              if (item.key == "GCLS-TC") {
                 _this.LoginNavIndex = index;
               }
             });
@@ -415,7 +416,7 @@ export default {
     } else {
       _this.projectList = SysList;
       _this.projectList.forEach((item, index) => {
-        if (item.key == "GCLS-TRC") {
+        if (item.key == "GCLS-TC") {
           _this.LoginNavIndex = index;
         }
       });

+ 1 - 0
src/views/login.vue

@@ -319,6 +319,7 @@ $fc: rgb(24, 144, 255);
   .login-form {
     position: relative;
     width: 350px;
+    margin: 0 auto;
     background: #fff;
     border-radius: 5px;
     padding: 42px;

+ 1 - 1
vue.config.js

@@ -6,7 +6,7 @@ function resolve(dir) {
     return path.join(__dirname, dir)
 }
 
-const name = defaultSettings.title || '全球汉语教学平台' // page title
+const name = defaultSettings.title || '教研中心' // page title
 
 // If your port is set to 80,
 // use administrator privileges to execute the command line.