mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-26 15:07:04 +00:00
@@ -171,7 +171,10 @@ export default {
|
||||
float: right;
|
||||
}
|
||||
.mobile .search.right {
|
||||
float: left;
|
||||
float: none;
|
||||
}
|
||||
.mobile .search.right .action-search {
|
||||
width: 100%;
|
||||
}
|
||||
.mobile .right-side {
|
||||
padding-top: 5px;
|
||||
|
@@ -67,16 +67,19 @@ export default {
|
||||
backends.sort((a, b) => b.level - a.level)
|
||||
this.ConfirmType = backends[0].name
|
||||
if (this.ConfirmType === 'relogin') {
|
||||
this.visible = true
|
||||
this.visible = false
|
||||
return this.$message.error(this.$t('auth.ReLogin'))
|
||||
} else if (this.ConfirmType === 'mfa') {
|
||||
}
|
||||
|
||||
if (this.ConfirmType === 'mfa') {
|
||||
this.Label = 'MFA'
|
||||
this.HelpText = this.$t('common.MFARequireForSecurity')
|
||||
this.visible = true
|
||||
} else if (this.ConfirmType === 'password') {
|
||||
this.Label = this.$t('setting.password')
|
||||
this.HelpText = this.$t('common.PasswordRequireForSecurity')
|
||||
this.visible = true
|
||||
}
|
||||
this.visible = true
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
@@ -109,6 +109,11 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile/i.test(navigator.userAgent)) {
|
||||
this.showTip = false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async handleSelectView(key, keyPath) {
|
||||
const routeName = this.viewsMapper[key] || '/'
|
||||
|
@@ -31,6 +31,12 @@ export default {
|
||||
]
|
||||
},
|
||||
columnsMeta: {
|
||||
is_finished: {
|
||||
width: '150px',
|
||||
formatterArgs: {
|
||||
showFalse: false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
headerActions: {
|
||||
|
Reference in New Issue
Block a user