yuwandanmian 1 年之前
父节点
当前提交
9e89065e72
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      src/views/login/index.vue

+ 0 - 12
src/views/login/index.vue

@@ -153,18 +153,6 @@ export default {
                 } else {
                   this.$router.push(this.redirect || '/');
                 }
-                // if (bSwitch.includes(1) && this.preUrl === 'hospital') {
-                //   sessionStorage.setItem('preUrl', 'hospital')
-                //   this.$router.push({ path: '/hospital'});
-                // } else if (bSwitch.includes(2) && this.preUrl === 'embedIndex') {
-                //   sessionStorage.setItem('preUrl', 'embedIndex')
-                //   this.$router.push({ path: '/embedIndex' });
-                // } else if (bSwitch.includes(3) && this.preUrl === 'reviewIndex') {
-                //   sessionStorage.setItem('preUrl', 'reviewIndex')
-                //   this.$router.push({ path: '/reviewIndex' });
-                // } else {
-                //   this.$router.push(this.redirect || '/');
-                // }
               }).catch((e) => {
                 console.log(e)
                 this.$message.error('获取导航菜单失败!');