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