Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-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
office
haoban-4
Commits
34e5bb21
Commit
34e5bb21
authored
Sep 21, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改接口 header 参数
parent
47b6fbcb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
index.html
dist/index.html
+0
-0
app.2d148e2e.js
dist/js/app.2d148e2e.js
+0
-0
permission.js
src/utils/permission.js
+2
-2
No files found.
dist/index.html
View file @
34e5bb21
This diff is collapsed.
Click to expand it.
dist/js/app.
3e0b65d
e.js
→
dist/js/app.
2d148e2
e.js
View file @
34e5bb21
This diff is collapsed.
Click to expand it.
src/utils/permission.js
View file @
34e5bb21
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2020-07-31 11:41:34
* @Date: 2020-07-31 11:41:34
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-09-21 11:1
4:23
* @LastEditTime: 2020-09-21 11:1
7:01
*/
*/
import
{
request
}
from
'./request.js'
;
import
{
request
}
from
'./request.js'
;
import
axios
from
'axios'
;
import
axios
from
'axios'
;
...
@@ -94,7 +94,7 @@ let permission = function(config) {
...
@@ -94,7 +94,7 @@ let permission = function(config) {
if
(
path
.
indexOf
(
'/login'
)
==
-
1
&&
path
.
indexOf
(
'/gic-error'
)
==
-
1
)
{
if
(
path
.
indexOf
(
'/login'
)
==
-
1
&&
path
.
indexOf
(
'/gic-error'
)
==
-
1
)
{
Object
.
assign
(
axios
.
defaults
.
headers
.
common
,
{
Object
.
assign
(
axios
.
defaults
.
headers
.
common
,
{
project
:
projectPath
,
project
:
projectPath
,
route
:
window
.
location
.
hash
.
match
(
/
(?<
=
\#\/)
.*
?(?=\?)
/
)
route
:
window
.
location
.
hash
.
match
(
/
(?<
=
\#\/)
.*
?(?=\?)
/
)
[
0
]
});
});
await
getGicMenu
();
await
getGicMenu
();
}
}
...
...
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