no message
This commit is contained in:
parent
282d6b5746
commit
3f96117a57
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="common-right-bottom">
|
||||
<div v-if="$Electron" class="common-right-bottom-link" @click="useSSOLogin">
|
||||
<div v-if="showSSO" class="common-right-bottom-link" @click="useSSOLogin">
|
||||
<Icon type="ios-globe-outline"/>
|
||||
{{ $L('使用 SSO 登录') }}
|
||||
</div>
|
||||
@ -62,6 +62,10 @@ export default {
|
||||
return this.repoStatus == 2 ? '更新客户端' : '客户端下载';
|
||||
},
|
||||
|
||||
showSSO() {
|
||||
return this.$Electron && ['login'].includes(this.$route.name)
|
||||
},
|
||||
|
||||
showDown() {
|
||||
return this.repoStatus && this.isDesktop && ['login', 'manage-dashboard'].includes(this.$route.name)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user