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