commit
This commit is contained in:
@@ -183,7 +183,7 @@
|
|||||||
if (hasHomeMenu) {
|
if (hasHomeMenu) {
|
||||||
this.setMenu(JSON.stringify(menuList)).then(res => {
|
this.setMenu(JSON.stringify(menuList)).then(res => {
|
||||||
if (this.showIETips) {//判断是否IE浏览器
|
if (this.showIETips) {//判断是否IE浏览器
|
||||||
alert('检测到您使用的是IE浏览器,已经和时代脱轨了!建议您更换为谷歌浏览器或火狐浏览器')
|
alert('检测到您使用的是IE浏览器,已经和时代脱轨了!建议您更换为谷歌浏览器')
|
||||||
}
|
}
|
||||||
this.$router.push('/home2')
|
this.$router.push('/home2')
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|||||||
@@ -82,6 +82,9 @@
|
|||||||
let routerParam = localStorage.getItem("routerParam");
|
let routerParam = localStorage.getItem("routerParam");
|
||||||
// 路由跳转
|
// 路由跳转
|
||||||
if(routerParam && routerParam != ''){
|
if(routerParam && routerParam != ''){
|
||||||
|
if (this.showIETips) {//判断是否IE浏览器
|
||||||
|
alert('检测到您使用的是IE浏览器,已经和时代脱轨了!建议您更换为谷歌浏览器')
|
||||||
|
}
|
||||||
const param = routerParam.split("&");
|
const param = routerParam.split("&");
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: routerUrl,
|
name: routerUrl,
|
||||||
@@ -96,8 +99,6 @@
|
|||||||
}else {
|
}else {
|
||||||
this.$router.push('/'+routerUrl)
|
this.$router.push('/'+routerUrl)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}, e => {
|
}, e => {
|
||||||
this.$message.warning('未获取到菜单')
|
this.$message.warning('未获取到菜单')
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user