@@ -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;
@@ -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() {