Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-operation-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
达摩4.0重构
haoban-operation-4
Commits
556eddd6
Commit
556eddd6
authored
Aug 14, 2020
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录流程调整
parent
b07c4238
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
yw-header.vue
src/layout/yw-header.vue
+3
-0
vue.config.js
vue.config.js
+1
-1
No files found.
src/layout/yw-header.vue
View file @
556eddd6
...
@@ -59,6 +59,9 @@ export default {
...
@@ -59,6 +59,9 @@ export default {
const
result
=
res
.
result
||
{};
const
result
=
res
.
result
||
{};
this
.
userInfo
=
Object
.
assign
({},
result
);
this
.
userInfo
=
Object
.
assign
({},
result
);
this
.
$emit
(
'updateAsideMenu'
,
result
.
menuTree
||
[]);
this
.
$emit
(
'updateAsideMenu'
,
result
.
menuTree
||
[]);
}).
catch
(
e
=>
{
// 登录异常时需要跳转到这个地址重新授权
window
.
location
.
href
=
`
${
origin
}
/hb-manage-operation-web/authcenter`
;
})
})
},
},
// 退出登录
// 退出登录
...
...
vue.config.js
View file @
556eddd6
...
@@ -12,7 +12,7 @@ function resolve(dir) {
...
@@ -12,7 +12,7 @@ function resolve(dir) {
return
path
.
join
(
__dirname
,
dir
)
return
path
.
join
(
__dirname
,
dir
)
}
}
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
808
8
// dev port
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
808
7
// dev port
module
.
exports
=
{
module
.
exports
=
{
lintOnSave
:
process
.
env
.
NODE_ENV
===
'development'
,
lintOnSave
:
process
.
env
.
NODE_ENV
===
'development'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment