三方登录显示增加配置
This commit is contained in:
parent
49cf36984d
commit
43f7d0cbc5
@ -67,5 +67,9 @@ export default {
|
|||||||
/**
|
/**
|
||||||
* 水印文案
|
* 水印文案
|
||||||
*/
|
*/
|
||||||
watermarkText: 'ZRAdmin.NET'
|
watermarkText: 'ZRAdmin.NET',
|
||||||
|
/**
|
||||||
|
* 是否显示其他登录
|
||||||
|
*/
|
||||||
|
showOtherLogin: false
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@
|
|||||||
<span v-else>登 录 中...</span>
|
<span v-else>登 录 中...</span>
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div class="other-login">
|
<div class="other-login" v-if="defaultSettings.showOtherLogin">
|
||||||
<el-divider>{{ $t('login.otherLoginWay') }}</el-divider>
|
<el-divider>{{ $t('login.otherLoginWay') }}</el-divider>
|
||||||
<img src="../assets/icons/gitee-fill-round.png" alt="" class="login-icon" @click="onAuth('GITEE')" />
|
<img src="../assets/icons/gitee-fill-round.png" alt="" class="login-icon" @click="onAuth('GITEE')" />
|
||||||
<img src="../assets/icons/github-fill.png" alt="" class="login-icon" @click="onAuth('GITHUB')" />
|
<img src="../assets/icons/github-fill.png" alt="" class="login-icon" @click="onAuth('GITHUB')" />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user