Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
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
new-sing
h5-base
Commits
7e87ad44
Commit
7e87ad44
authored
Sep 28, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v
parent
372ba57c
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
index.html
dist/index.html
+1
-1
app.84b4c64e9e52528644ef.js
dist/static/js/app.84b4c64e9e52528644ef.js
+0
-1
app.caab8c1feca78a60e38d.js
dist/static/js/app.caab8c1feca78a60e38d.js
+1
-0
index.js
src/service/index.js
+2
-2
No files found.
dist/index.html
View file @
7e87ad44
...
@@ -11,4 +11,4 @@
...
@@ -11,4 +11,4 @@
position
:
fixed
;
position
:
fixed
;
background
:
#f4f4f4
;
background
:
#f4f4f4
;
}
}
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.d7ff704234c186886ba9e9e037596e8c.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.6a8a8f81d41eede92744.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.84b4c64e9e52528644ef.js
></script></body></html>
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.d7ff704234c186886ba9e9e037596e8c.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.6a8a8f81d41eede92744.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.caab8c1feca78a60e38d.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/js/app.84b4c64e9e52528644ef.js
deleted
100644 → 0
View file @
372ba57c
This diff is collapsed.
Click to expand it.
dist/static/js/app.caab8c1feca78a60e38d.js
0 → 100644
View file @
7e87ad44
This diff is collapsed.
Click to expand it.
src/service/index.js
View file @
7e87ad44
...
@@ -26,7 +26,6 @@ axios.interceptors.request.use(
...
@@ -26,7 +26,6 @@ axios.interceptors.request.use(
}
}
// 添加token到headers
// 添加token到headers
if
(
token
)
{
if
(
token
)
{
console
.
log
(
23232323
)
config
.
headers
.
token
=
token
config
.
headers
.
token
=
token
}
}
// 鉴权参数设置
// 鉴权参数设置
...
@@ -53,9 +52,10 @@ axios.interceptors.request.use(
...
@@ -53,9 +52,10 @@ axios.interceptors.request.use(
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
config
.
params
.
special_token
=
"changchangenglish"
;
config
.
params
.
special_token
=
"changchangenglish"
;
}
}
config
.
params
.
v
=
versiontime
;
// console.log(json)
// console.log(json)
config
.
params
.
param_token
=
md5
(
JSON
.
stringify
(
json
));
config
.
params
.
param_token
=
md5
(
JSON
.
stringify
(
json
));
con
fig
.
params
.
v
=
versiontime
;
con
sole
.
log
(
JSON
.
stringify
(
json
))
}
else
if
(
config
.
url
!==
'/api/admin/login'
)
{
}
else
if
(
config
.
url
!==
'/api/admin/login'
)
{
config
.
data
=
config
.
data
||
{};
config
.
data
=
config
.
data
||
{};
config
.
data
.
v
=
versiontime
;
config
.
data
.
v
=
versiontime
;
...
...
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