From 78c13f6038ecf91365eec89d3da1db11c0b6c478 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Sun, 19 Dec 2021 18:18:33 +0800 Subject: [PATCH] commit --- src/pages/login/index.vue | 2 +- src/pages/loginVerify/index.vue | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index e5556a532..ae5885060 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -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 => { diff --git a/src/pages/loginVerify/index.vue b/src/pages/loginVerify/index.vue index d93995f79..59b24f73c 100644 --- a/src/pages/loginVerify/index.vue +++ b/src/pages/loginVerify/index.vue @@ -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('未获取到菜单') })