Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-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
admin-base
Commits
01aa8dc9
Commit
01aa8dc9
authored
Sep 14, 2018
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打包
parent
b6407cc1
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
10 deletions
+8
-10
index.html
dist/index.html
+1
-1
0.8882a4bd0bffc26ef982.js
dist/static/js/0.8882a4bd0bffc26ef982.js
+2
-2
2.e33099552c886210945b.js
dist/static/js/2.e33099552c886210945b.js
+1
-1
manifest.c733e2f6f4830a4a7fb2.js
dist/static/js/manifest.c733e2f6f4830a4a7fb2.js
+1
-1
index.js
src/service/index.js
+3
-5
No files found.
dist/index.html
View file @
01aa8dc9
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_7dsnjecwkpg.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.66add88c93cd44fe88d8c6232ff260c0.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.c474c322947aa1b222f1.js
></script><script
type=
text/javascript
src=
/static/js/vendor.9122c146b78876133e6f.js
></script><script
type=
text/javascript
src=
/static/js/app.d8afd8460c7df3c4e4d0.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_7dsnjecwkpg.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.66add88c93cd44fe88d8c6232ff260c0.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.c733e2f6f4830a4a7fb2.js
></script><script
type=
text/javascript
src=
/static/js/vendor.9122c146b78876133e6f.js
></script><script
type=
text/javascript
src=
/static/js/app.d8afd8460c7df3c4e4d0.js
></script></body></html>
\ No newline at end of file
dist/static/js/0.
d73402387cb8ff6d6c84
.js
→
dist/static/js/0.
8882a4bd0bffc26ef982
.js
View file @
01aa8dc9
This diff is collapsed.
Click to expand it.
dist/static/js/2.
b68485bff93990684d86
.js
→
dist/static/js/2.
e33099552c886210945b
.js
View file @
01aa8dc9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/manifest.c
474c322947aa1b222f1
.js
→
dist/static/js/manifest.c
733e2f6f4830a4a7fb2
.js
View file @
01aa8dc9
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
t
,
f
){
for
(
var
o
,
d
,
b
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
d
=
c
[
i
],
n
[
d
]
&&
u
.
push
(
n
[
d
][
0
]),
n
[
d
]
=
0
;
for
(
o
in
t
)
Object
.
prototype
.
hasOwnProperty
.
call
(
t
,
o
)
&&
(
e
[
o
]
=
t
[
o
]);
for
(
a
&&
a
(
c
,
t
,
f
);
u
.
length
;)
u
.
shift
()();
if
(
f
)
for
(
i
=
0
;
i
<
f
.
length
;
i
++
)
b
=
r
(
r
.
s
=
f
[
i
]);
return
b
};
var
c
=
{},
n
=
{
32
:
0
};
function
r
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
n
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
n
.
exports
,
n
,
n
.
exports
,
r
),
n
.
l
=!
0
,
n
.
exports
}
r
.
e
=
function
(
e
){
var
a
=
n
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
r
){
a
=
n
[
e
]
=
[
c
,
r
]});
a
[
2
]
=
c
;
var
t
=
document
.
getElementsByTagName
(
"head"
)[
0
],
f
=
document
.
createElement
(
"script"
);
f
.
type
=
"text/javascript"
,
f
.
charset
=
"utf-8"
,
f
.
async
=!
0
,
f
.
timeout
=
12
e4
,
r
.
nc
&&
f
.
setAttribute
(
"nonce"
,
r
.
nc
),
f
.
src
=
r
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"d73402387cb8ff6d6c84"
,
1
:
"54db79cf112a4ca5dfbc"
,
2
:
"b68485bff93990684d86"
,
3
:
"58df26638cb030357eb5"
,
4
:
"48c883b43c5b63aa986e"
,
5
:
"096028c7fa9390f6aa44"
,
6
:
"d1e8dd11ae8f58408628"
,
7
:
"2f93acce0da6053fa131"
,
8
:
"14ae076c1e1d4580ab13"
,
9
:
"aa7fa7569f58092c6467"
,
10
:
"464403db1a1c52b8f60a"
,
11
:
"01c045bfa714d3b97e0b"
,
12
:
"ccef47f8b1c7509d44a2"
,
13
:
"dc6acc264c1af6a56833"
,
14
:
"84587efb6afe22350add"
,
15
:
"2ef83aafda11db11eb26"
,
16
:
"b9bebc93e3af0ea50190"
,
17
:
"4e66284fd789ebe1dde1"
,
18
:
"21f57046a49f5c5be878"
,
19
:
"ecf8aa0a27ae11ccb4fe"
,
20
:
"bb395953fe12d005cadb"
,
21
:
"b2dfd26750e602ae8e41"
,
22
:
"313b27beceaa203e4911"
,
23
:
"a6be1dc4cc74f65bc091"
,
24
:
"1b3fb9faa05d3dc3014a"
,
25
:
"1e612ab3da018128a22e"
,
26
:
"814735a5e7b2a70797c7"
,
27
:
"aed1710fdee959b271f5"
,
28
:
"265d9602ca90753a48c7"
,
29
:
"a3529f259ff508a2d8e0"
}[
e
]
+
".js"
;
var
o
=
setTimeout
(
d
,
12
e4
);
function
d
(){
f
.
onerror
=
f
.
onload
=
null
,
clearTimeout
(
o
);
var
a
=
n
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
f
.
onerror
=
f
.
onload
=
d
,
t
.
appendChild
(
f
),
c
},
r
.
m
=
e
,
r
.
c
=
c
,
r
.
d
=
function
(
e
,
a
,
c
){
r
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
r
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
a
,
"a"
,
a
),
a
},
r
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
r
.
p
=
"/"
,
r
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
t
,
f
){
for
(
var
o
,
d
,
b
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
d
=
c
[
i
],
n
[
d
]
&&
u
.
push
(
n
[
d
][
0
]),
n
[
d
]
=
0
;
for
(
o
in
t
)
Object
.
prototype
.
hasOwnProperty
.
call
(
t
,
o
)
&&
(
e
[
o
]
=
t
[
o
]);
for
(
a
&&
a
(
c
,
t
,
f
);
u
.
length
;)
u
.
shift
()();
if
(
f
)
for
(
i
=
0
;
i
<
f
.
length
;
i
++
)
b
=
r
(
r
.
s
=
f
[
i
]);
return
b
};
var
c
=
{},
n
=
{
32
:
0
};
function
r
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
n
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
n
.
exports
,
n
,
n
.
exports
,
r
),
n
.
l
=!
0
,
n
.
exports
}
r
.
e
=
function
(
e
){
var
a
=
n
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
r
){
a
=
n
[
e
]
=
[
c
,
r
]});
a
[
2
]
=
c
;
var
t
=
document
.
getElementsByTagName
(
"head"
)[
0
],
f
=
document
.
createElement
(
"script"
);
f
.
type
=
"text/javascript"
,
f
.
charset
=
"utf-8"
,
f
.
async
=!
0
,
f
.
timeout
=
12
e4
,
r
.
nc
&&
f
.
setAttribute
(
"nonce"
,
r
.
nc
),
f
.
src
=
r
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"8882a4bd0bffc26ef982"
,
1
:
"54db79cf112a4ca5dfbc"
,
2
:
"e33099552c886210945b"
,
3
:
"58df26638cb030357eb5"
,
4
:
"48c883b43c5b63aa986e"
,
5
:
"096028c7fa9390f6aa44"
,
6
:
"d1e8dd11ae8f58408628"
,
7
:
"2f93acce0da6053fa131"
,
8
:
"14ae076c1e1d4580ab13"
,
9
:
"aa7fa7569f58092c6467"
,
10
:
"464403db1a1c52b8f60a"
,
11
:
"01c045bfa714d3b97e0b"
,
12
:
"ccef47f8b1c7509d44a2"
,
13
:
"dc6acc264c1af6a56833"
,
14
:
"84587efb6afe22350add"
,
15
:
"2ef83aafda11db11eb26"
,
16
:
"b9bebc93e3af0ea50190"
,
17
:
"4e66284fd789ebe1dde1"
,
18
:
"21f57046a49f5c5be878"
,
19
:
"ecf8aa0a27ae11ccb4fe"
,
20
:
"bb395953fe12d005cadb"
,
21
:
"b2dfd26750e602ae8e41"
,
22
:
"313b27beceaa203e4911"
,
23
:
"a6be1dc4cc74f65bc091"
,
24
:
"1b3fb9faa05d3dc3014a"
,
25
:
"1e612ab3da018128a22e"
,
26
:
"814735a5e7b2a70797c7"
,
27
:
"aed1710fdee959b271f5"
,
28
:
"265d9602ca90753a48c7"
,
29
:
"a3529f259ff508a2d8e0"
}[
e
]
+
".js"
;
var
o
=
setTimeout
(
d
,
12
e4
);
function
d
(){
f
.
onerror
=
f
.
onload
=
null
,
clearTimeout
(
o
);
var
a
=
n
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
f
.
onerror
=
f
.
onload
=
d
,
t
.
appendChild
(
f
),
c
},
r
.
m
=
e
,
r
.
c
=
c
,
r
.
d
=
function
(
e
,
a
,
c
){
r
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
r
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
a
,
"a"
,
a
),
a
},
r
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
r
.
p
=
"/"
,
r
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/service/index.js
View file @
01aa8dc9
...
...
@@ -4,7 +4,6 @@ import store from "@/store"
import
{
MessageBox
,
Message
}
from
'element-ui'
;
import
router
from
'../router'
import
Cookie
from
'../util/cookie'
import
{
encodeUnicode
}
from
"../util/common"
;
// 默认超时设置
axios
.
defaults
.
timeout
=
50000
;
...
...
@@ -13,7 +12,6 @@ axios.defaults.baseURL ='';
//http request 拦截器
axios
.
interceptors
.
request
.
use
(
config
=>
{
console
.
log
(
JSON
.
stringify
({
"page"
:
1
,
"limit"
:
10
,
"desc"
:
"
\
u5de5"
,
"sing"
:
"singsingenglish21000"
}
),
md5
(
JSON
.
stringify
({
"page"
:
1
,
"limit"
:
10
,
"desc"
:
"
\
u5de5"
,
"sing"
:
"singsingenglish21000"
}
)))
// 获取token
const
token
=
Cookie
.
get
(
'cc_token'
);
// 设置参数格式
...
...
@@ -28,7 +26,7 @@ axios.interceptors.request.use(
}
// 鉴权参数设置
if
(
config
.
method
===
'get'
&&
config
.
url
!==
'/api/admin/login'
){
config
.
params
=
config
.
params
||
{}
config
.
params
=
config
.
params
||
{}
;
let
json
=
JSON
.
parse
(
JSON
.
stringify
(
config
.
params
));
for
(
let
k
in
json
)
{
...
...
@@ -36,7 +34,7 @@ axios.interceptors.request.use(
if
(
reg
.
test
(
json
[
k
])){
json
[
k
]
=
Number
(
json
[
k
])
}
json
[
k
]
=
md5
(
json
[
k
])
json
[
k
]
=
md5
(
json
[
k
]
.
toString
()
)
}
console
.
log
(
json
);
json
.
sing
=
"singsingenglish21000"
;
...
...
@@ -50,7 +48,7 @@ axios.interceptors.request.use(
if
(
reg
.
test
(
json
[
k
])){
json
[
k
]
=
Number
(
json
[
k
])
}
json
[
k
]
=
md5
(
json
[
k
])
json
[
k
]
=
md5
(
json
[
k
]
.
toString
()
)
}
console
.
log
(
json
)
json
.
sing
=
"singsingenglish21000"
;
...
...
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