mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
fix: 切换视图提示信息判断移动端不显示
This commit is contained in:
committed by
Jiangjie.Bai
parent
ea3e26b92c
commit
81d8cd971c
@@ -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] || '/'
|
||||
|
||||
Reference in New Issue
Block a user