Commit 556eddd6 by caoyanzhi

登录流程调整

parent b07c4238
......@@ -59,6 +59,9 @@ export default {
const result = res.result || {};
this.userInfo = Object.assign({}, result);
this.$emit('updateAsideMenu', result.menuTree || []);
}).catch(e => {
// 登录异常时需要跳转到这个地址重新授权
window.location.href = `${origin}/hb-manage-operation-web/authcenter`;
})
},
// 退出登录
......
......@@ -12,7 +12,7 @@ function resolve(dir) {
return path.join(__dirname, dir)
}
const port = process.env.port || process.env.npm_config_port || 8088 // dev port
const port = process.env.port || process.env.npm_config_port || 8087 // dev port
module.exports = {
lintOnSave: process.env.NODE_ENV === 'development',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment