Commit 121f3ecd by YuleiLan

fix bug.

parent 6c7a45ca
Showing with 6 additions and 17 deletions
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
<div class="login-weaper animated bounceInDown"> <div class="login-weaper animated bounceInDown">
<div class="login-left"> <div class="login-left">
<div class="login-time" v-text="currentTime" /> <div class="login-time" v-text="currentTime" />
<img src="../../assets/logo/ferry_logo_white.png" alt="" class="img"> <img :src="sysInfo.logo!==''?sysInfo.logo:'https://www.fdevops.com/wp-content/uploads/2020/08/1597815294-ferry_logo_white.png'" alt="" class="img">
<p class="title" v-text="sysInfo.name" /> <p class="title" v-text="sysInfo.name!==''?sysInfo.name:'ferry 管理平台'" />
</div> </div>
<div class="login-border"> <div class="login-border">
<div class="login-main"> <div class="login-main">
...@@ -100,14 +100,6 @@ ...@@ -100,14 +100,6 @@
</div> </div>
</div> </div>
<el-dialog title="Or connect with" :visible.sync="showDialog">
Can not be simulated on local, so please combine you own business simulation! ! !
<br>
<br>
<br>
<social-sign />
</el-dialog>
</div> </div>
</template> </template>
...@@ -116,19 +108,17 @@ ...@@ -116,19 +108,17 @@
import { getCodeImg } from '@/api/login' import { getCodeImg } from '@/api/login'
import { getSettings } from '@/api/system/settings' import { getSettings } from '@/api/system/settings'
import moment from 'moment' import moment from 'moment'
import SocialSign from './components/SocialSignin'
export default { export default {
name: 'Login', name: 'Login',
components: { SocialSign },
data() { data() {
return { return {
loginTypeStatus: true, loginTypeStatus: true,
codeUrl: '', codeUrl: '',
cookiePassword: '', cookiePassword: '',
loginForm: { loginForm: {
username: 'admin', username: '',
password: '123456', password: '',
rememberMe: false, rememberMe: false,
code: '', code: '',
uuid: '', uuid: '',
...@@ -146,13 +136,12 @@ export default { ...@@ -146,13 +136,12 @@ export default {
passwordType: 'password', passwordType: 'password',
capsTooltip: false, capsTooltip: false,
loading: false, loading: false,
showDialog: false,
redirect: undefined, redirect: undefined,
otherQuery: {}, otherQuery: {},
currentTime: null, currentTime: null,
sysInfo: { sysInfo: {
logo: '@/assets/logo/ferry_logo_white.png', logo: '',
name: 'ferry管理平台' name: ''
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment