This commit is contained in:
zhutianqi
2021-12-19 18:18:33 +08:00
parent 429532bb99
commit 78c13f6038
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -183,7 +183,7 @@
if (hasHomeMenu) {
this.setMenu(JSON.stringify(menuList)).then(res => {
if (this.showIETips) {//判断是否IE浏览器
alert('检测到您使用的是IE浏览器,已经和时代脱轨了!建议您更换为谷歌浏览器或火狐浏览器')
alert('检测到您使用的是IE浏览器,已经和时代脱轨了!建议您更换为谷歌浏览器')
}
this.$router.push('/home2')
}, e => {
+3 -2
View File
@@ -82,6 +82,9 @@
let routerParam = localStorage.getItem("routerParam");
// 路由跳转
if(routerParam && routerParam != ''){
if (this.showIETips) {//判断是否IE浏览器
alert('检测到您使用的是IE浏览器,已经和时代脱轨了!建议您更换为谷歌浏览器')
}
const param = routerParam.split("&");
this.$router.push({
name: routerUrl,
@@ -96,8 +99,6 @@
}else {
this.$router.push('/'+routerUrl)
}
}, e => {
this.$message.warning('未获取到菜单')
})