Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
23a532dc
authored
May 16, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
8ad315ee
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
1 deletions
src/main.js
view/index.html
view/js/app.279e8d70.js → view/js/app.8a115e9c.js
src/main.js
View file @
23a532dc
...
...
@@ -28,7 +28,7 @@ Object.keys(filters).forEach(key => Vue.filter(key, filters[key]));
Vue
.
use
(
directive
);
//设置请求头
var
csrf
=
Util
.
getCookie
(
'Yo4teW_csrf'
)
||
''
;
var
csrf
=
Util
.
getCookie
(
'Yo4teW_csrf'
)
||
''
;
//解决接口返回系统错误问题
Vue
.
prototype
.
$http
=
axios
;
axios
.
defaults
.
headers
.
post
[
'Content-Type'
]
=
'application/x-www-form-urlencoded'
;
axios
.
defaults
.
withCredentials
=
true
;
...
...
view/index.html
View file @
23a532dc
This diff is collapsed.
Click to expand it.
view/js/app.
279e8d70
.js
→
view/js/app.
8a115e9c
.js
View file @
23a532dc
File moved
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