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
c9646c49
Commit
c9646c49
authored
Oct 29, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 处理参数
parent
39c9975c
Expand all
Show 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.4dc9553a.js
dist/js/app.4dc9553a.js
+0
-0
permission.js
src/utils/permission.js
+2
-2
No files found.
dist/index.html
View file @
c9646c49
This diff is collapsed.
Click to expand it.
dist/js/app.4
a1efcbd
.js
→
dist/js/app.4
dc9553a
.js
View file @
c9646c49
This diff is collapsed.
Click to expand it.
src/utils/permission.js
View file @
c9646c49
...
@@ -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-10-2
3 10:01:16
* @LastEditTime: 2020-10-2
9 09:40:33
*/
*/
import
{
request
}
from
'./request.js'
;
import
{
request
}
from
'./request.js'
;
import
axios
from
'axios'
;
import
axios
from
'axios'
;
...
@@ -101,7 +101,7 @@ let permission = function(config) {
...
@@ -101,7 +101,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
:
path
.
replace
(
/
haoban-4
/
,
''
)
route
:
path
.
replace
(
/
\/
haoban-4
\/
/
,
''
)
});
});
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