fix: 切换视图提示信息判断移动端不显示

This commit is contained in:
“huailei000”
2022-06-16 18:03:52 +08:00
committed by Jiangjie.Bai
parent ea3e26b92c
commit 81d8cd971c

View File

@@ -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] || '/'