Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-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
be9438cd
authored
2023-06-13 10:27:36 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:调试
1 parent
97d8d82f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/permission.js
src/permission.js
View file @
be9438c
/*
* @Description: 项目权限
* @Autor: renchao
* @LastEditTime: 2023-06-1
2 17:22:02
* @LastEditTime: 2023-06-1
3 10:26:13
*/
import
Vue
from
'vue'
import
axios
from
'axios'
...
...
@@ -43,7 +43,7 @@ router.beforeEach(async (to, from, next) => {
'service'
:
locationUrl
}
}).
then
(
async
(
res
)
=>
{
console
.
log
(
res
,
'resresres'
);
debugger
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
localStorage
.
setItem
(
'token'
,
res
.
data
.
content
.
accessToken
)
}
else
{
...
...
Please
register
or
sign in
to post a comment