diff --git a/src/views/login/components/passwordForm.vue b/src/views/login/components/passwordForm.vue index 81bcb0d4..7db5fb74 100644 --- a/src/views/login/components/passwordForm.vue +++ b/src/views/login/components/passwordForm.vue @@ -133,10 +133,12 @@ export default { that.$TOOL.data.set("PERMISSIONS", Object.keys(res1.perms)); let base_dashboard = this.$TOOL.data.get('BASE_INFO').base.base_dashboard; - if (this.redirect) { - base_dashboard = this.redirect; - } - else if (base_dashboard == null || base_dashboard == undefined) { + // 去除重定向因客户不理解 + // if (this.redirect) { + // base_dashboard = this.redirect; + // } + // else + if (base_dashboard == null || base_dashboard == undefined) { base_dashboard = '/dashboard' } if (this.$TOOL.data.get('BASE_INFO').base.base_name_short.indexOf('曲阳') != -1) { diff --git a/src/views/login/components/phoneForm.vue b/src/views/login/components/phoneForm.vue index 47483181..0d30dd3b 100644 --- a/src/views/login/components/phoneForm.vue +++ b/src/views/login/components/phoneForm.vue @@ -102,10 +102,11 @@ export default { that.$TOOL.data.set("USER_INFO", res1); that.$TOOL.data.set("PERMISSIONS", Object.keys(res1.perms)); let base_dashboard = this.$TOOL.data.get('BASE_INFO').base.base_dashboard; - if (this.redirect) { - base_dashboard = this.redirect; - } - else if (base_dashboard == null || base_dashboard == undefined) { + // if (this.redirect) { + // base_dashboard = this.redirect; + // } + // else + if (base_dashboard == null || base_dashboard == undefined) { base_dashboard = '/dashboard' } if (this.$TOOL.data.get('BASE_INFO').base.base_name_short.indexOf('曲阳') != -1) {