Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
bd01f54b
authored
2023-03-31 10:57:34 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:上报配置
1 parent
6db43722
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
public/config.json
src/views/loginsb/index.vue
public/config.json
View file @
bd01f54
...
...
@@ -6,4 +6,4 @@
"calcHeight"
:
160
,
"echartTextColor"
:
"#4A4A4A"
,
"MANAGEMENTAPI"
:
"http://192.168.2.38:8090/management"
}
}
\ No newline at end of file
...
...
src/views/loginsb/index.vue
View file @
bd01f54
...
...
@@ -111,7 +111,7 @@ export default {
let
code
=
this
.
BASE_API
.
CODE
;
localStorage
.
setItem
(
"token"
,
`Bearer
${
res
.
content
}
`
);
const
{
result
:
getMenuData
}
=
(
await
getMenuInfo
(
code
))
||
[];
let
path1
=
JSON
.
parse
(
getMenuData
[
1
].
metadata
)?.
path
+
'/'
+
JSON
.
parse
(
getMenuData
[
1
].
children
[
0
].
metadata
)?.
path
let
path1
=
JSON
.
parse
(
getMenuData
[
0
].
metadata
)?.
path
+
'/'
+
JSON
.
parse
(
getMenuData
[
0
].
children
[
0
].
metadata
)?.
path
//登录成功后需判断有无重定向,没有重定向则跳转首页
const
accessRoutes
=
await
this
.
$store
.
dispatch
(
"permission/generateRoutes"
,
...
...
Please
register
or
sign in
to post a comment