feat: 去除登录重定向
This commit is contained in:
parent
048a2339d4
commit
2044684c26
|
@ -133,10 +133,12 @@ export default {
|
||||||
that.$TOOL.data.set("PERMISSIONS", Object.keys(res1.perms));
|
that.$TOOL.data.set("PERMISSIONS", Object.keys(res1.perms));
|
||||||
|
|
||||||
let base_dashboard = this.$TOOL.data.get('BASE_INFO').base.base_dashboard;
|
let base_dashboard = this.$TOOL.data.get('BASE_INFO').base.base_dashboard;
|
||||||
if (this.redirect) {
|
// 去除重定向因客户不理解
|
||||||
base_dashboard = this.redirect;
|
// if (this.redirect) {
|
||||||
}
|
// base_dashboard = this.redirect;
|
||||||
else if (base_dashboard == null || base_dashboard == undefined) {
|
// }
|
||||||
|
// else
|
||||||
|
if (base_dashboard == null || base_dashboard == undefined) {
|
||||||
base_dashboard = '/dashboard'
|
base_dashboard = '/dashboard'
|
||||||
}
|
}
|
||||||
if (this.$TOOL.data.get('BASE_INFO').base.base_name_short.indexOf('曲阳') != -1) {
|
if (this.$TOOL.data.get('BASE_INFO').base.base_name_short.indexOf('曲阳') != -1) {
|
||||||
|
|
|
@ -102,10 +102,11 @@ export default {
|
||||||
that.$TOOL.data.set("USER_INFO", res1);
|
that.$TOOL.data.set("USER_INFO", res1);
|
||||||
that.$TOOL.data.set("PERMISSIONS", Object.keys(res1.perms));
|
that.$TOOL.data.set("PERMISSIONS", Object.keys(res1.perms));
|
||||||
let base_dashboard = this.$TOOL.data.get('BASE_INFO').base.base_dashboard;
|
let base_dashboard = this.$TOOL.data.get('BASE_INFO').base.base_dashboard;
|
||||||
if (this.redirect) {
|
// if (this.redirect) {
|
||||||
base_dashboard = this.redirect;
|
// base_dashboard = this.redirect;
|
||||||
}
|
// }
|
||||||
else if (base_dashboard == null || base_dashboard == undefined) {
|
// else
|
||||||
|
if (base_dashboard == null || base_dashboard == undefined) {
|
||||||
base_dashboard = '/dashboard'
|
base_dashboard = '/dashboard'
|
||||||
}
|
}
|
||||||
if (this.$TOOL.data.get('BASE_INFO').base.base_name_short.indexOf('曲阳') != -1) {
|
if (this.$TOOL.data.get('BASE_INFO').base.base_name_short.indexOf('曲阳') != -1) {
|
||||||
|
|
Loading…
Reference in New Issue