guanchunjie vor 3 Jahren
Ursprung
Commit
64ea99ae38
2 geänderte Dateien mit 6 neuen und 4 gelöschten Zeilen
  1. 4 0
      src/components/inputModules/common/Header.vue
  2. 2 4
      src/views/login.vue

+ 4 - 0
src/components/inputModules/common/Header.vue

@@ -478,6 +478,10 @@ export default {
   box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.15);
   font-family: "sourceR";
   .logo {
+    &-image {
+      width: 188px;
+      height: 64px;
+    }
     &-img {
       font-style: normal;
       font-weight: 600;

+ 2 - 4
src/views/login.vue

@@ -1,9 +1,9 @@
 <template>
-  <div class="login-container" v-if="isShow">
+  <div class="login-container">
     <div class="login-left">
       <div class="login-texts">
         <p>
-          <span>{{ configInfor.title }}</span>
+          <span>{{ configInfor ? configInfor.title : "教材管理系统" }}</span>
         </p>
       </div>
       <el-form
@@ -128,7 +128,6 @@ export default {
       redirect: undefined,
       loginCheck: "login",
       configInfor: null,
-      isShow: false,
     };
   },
   watch: {
@@ -177,7 +176,6 @@ export default {
     },
     async _getConfig() {
       this.configInfor = await getConfigInfor();
-      this.isShow = true;
     },
   },
   mounted() {