Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
R
revised-version-h5
Project
Project
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
孟庆瑞
revised-version-h5
Commits
5c098015
Commit
5c098015
authored
Sep 09, 2024
by
mengqr
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.douniu8.com/mengqr/revised-version-h5
parents
3f22e4a1
dc6022f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
request.js
src/utils/request.js
+1
-1
index.vue
src/views/record/index.vue
+1
-1
No files found.
src/utils/request.js
View file @
5c098015
...
@@ -20,7 +20,7 @@ service.interceptors.request.use(config => {
...
@@ -20,7 +20,7 @@ service.interceptors.request.use(config => {
config
.
data
=
JSON
.
stringify
(
config
.
data
);
//数据转化,也可以使用qs转换
config
.
data
=
JSON
.
stringify
(
config
.
data
);
//数据转化,也可以使用qs转换
config
.
headers
=
{
config
.
headers
=
{
'Content-Type'
:
'application/json'
,
//配置请求头
'Content-Type'
:
'application/json'
,
//配置请求头
'Authorization'
:
'Bearer eyJhbGciOiJIUzUxMiJ9.eyJleHAiOjE3MjYy
MTk2MjQsInN1YiI6IjQ4MjY2NiIsImlhdCI6MTcyNTYxNDgyNH0.S-vd6o_eb5-IwSBIs39kRb-tI-2rRrMYlj3dTKgU_GqylRpv3GBVjeNzjSxXVnfRFp68OWTW8f_A085uTjP-Sw
'
'Authorization'
:
'Bearer eyJhbGciOiJIUzUxMiJ9.eyJleHAiOjE3MjYy
OTc4ODksInN1YiI6IjQ4MjY2NiIsImlhdCI6MTcyNTY5MzA4OX0.iSWtg05FvzN3vXx219-q-zcnAjZc63691GgNxZtC16LrsYqv7f01VY4L2pSDnfIzlwnXUAG5HBCnDMr3s4ED-Q
'
}
}
//如有需要:注意使用token的时候需要引入cookie方法或者用本地localStorage等方法,推荐js-cookie
//如有需要:注意使用token的时候需要引入cookie方法或者用本地localStorage等方法,推荐js-cookie
//const token = getCookie('名称');//这里取token之前,你肯定需要先拿到token,存一下
//const token = getCookie('名称');//这里取token之前,你肯定需要先拿到token,存一下
...
...
src/views/record/index.vue
View file @
5c098015
...
@@ -129,7 +129,7 @@ export default {
...
@@ -129,7 +129,7 @@ export default {
.oul
{
.oul
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-around
;
justify-content
:
space-around
;
margin-top
:
2
0px
;
margin-top
:
1
0px
;
border-bottom
:
1px
solid
#d5d8db
;
border-bottom
:
1px
solid
#d5d8db
;
padding-bottom
:
21px
;
padding-bottom
:
21px
;
/* padding-left: 10px; */
/* padding-left: 10px; */
...
...
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