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