Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
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
b12a2996
authored
Jul 02, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
7351b98f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
dist/js/global/global.min.js
dist/js/global/global.min.js
View file @
b12a2996
...
...
@@ -23,19 +23,19 @@
if
((
navigator
.
userAgent
.
indexOf
(
'MSIE'
)
>=
0
)
&&
(
navigator
.
userAgent
.
indexOf
(
'Opera'
)
<
0
))
{
dataTypeXpx
=
"jsonp"
;
}
// if(isheader){
$
.
ajaxSetup
({
headers
:
{
Authorization
:
'Bearer '
+
Util
.
getCookie
(
'token'
)
},
});
// };
if
(
isheader
)
{
$
.
ajaxSetup
({
headers
:
{
Authorization
:
'Bearer '
+
Util
.
getCookie
(
'token'
)
},
});
}
$
.
ajax
({
type
:
type
,
url
:
url
,
data
:
params
,
dataType
:
'json'
,
dataType
:
dataTypeXpx
,
xhrFields
:
{
withCredentials
:
true
},
...
...
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