Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
b8e3992a
Commit
b8e3992a
authored
Sep 13, 2021
by
xue_wengang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update http.js
parent
0b2d410a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/utils/http.js
+4
-4
No files found.
src/utils/http.js
View file @
b8e3992a
...
...
@@ -7,11 +7,11 @@ var arr = document.cookie.split("; ");
let
userToken
=
""
;
let
appToken
=
""
;
arr
.
forEach
((
item
)
=>
{
if
(
item
.
includes
(
"userToken"
))
{
userToken
=
item
.
split
(
"userToken"
)[
1
];
if
(
item
.
includes
(
"userToken
=
"
))
{
userToken
=
item
.
split
(
"userToken
=
"
)[
1
];
}
if
(
item
.
includes
(
"appToken"
))
{
appToken
=
item
.
split
(
"appToken"
)[
1
];
if
(
item
.
includes
(
"appToken
=
"
))
{
appToken
=
item
.
split
(
"appToken
=
"
)[
1
];
}
});
// debugger
...
...
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