|
@@ -153,18 +153,6 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.$router.push(this.redirect || '/');
|
|
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) => {
|
|
}).catch((e) => {
|
|
console.log(e)
|
|
console.log(e)
|
|
this.$message.error('获取导航菜单失败!');
|
|
this.$message.error('获取导航菜单失败!');
|