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
6033412e
Commit
6033412e
authored
Sep 21, 2018
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回车换行 角色树形图 打包
parent
7dd054d3
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
19 additions
and
12 deletions
+19
-12
index.js
config/index.js
+2
-2
index.html
dist/index.html
+1
-1
app.d0b13b798a8f118ac77da16d4fc9a1a3.css
dist/static/css/app.d0b13b798a8f118ac77da16d4fc9a1a3.css
+1
-1
0.905ab761eb081f07ec1d.js
dist/static/js/0.905ab761eb081f07ec1d.js
+0
-0
21.1cff5e892f2304c25d41.js
dist/static/js/21.1cff5e892f2304c25d41.js
+1
-1
22.a13143900b034ede203b.js
dist/static/js/22.a13143900b034ede203b.js
+1
-1
23.b3ac04d0c021899a4fc3.js
dist/static/js/23.b3ac04d0c021899a4fc3.js
+1
-1
24.2bca9087d93c1145e1e1.js
dist/static/js/24.2bca9087d93c1145e1e1.js
+1
-1
25.e24c5f35c405369b6432.js
dist/static/js/25.e24c5f35c405369b6432.js
+1
-1
app.25ba3a0e18d285b0fb5b.js
dist/static/js/app.25ba3a0e18d285b0fb5b.js
+1
-1
manifest.59b8cf8117b2d2050955.js
dist/static/js/manifest.59b8cf8117b2d2050955.js
+1
-1
index.js
src/router/index.js
+8
-1
No files found.
config/index.js
View file @
6033412e
...
@@ -12,8 +12,8 @@ module.exports = {
...
@@ -12,8 +12,8 @@ module.exports = {
//本地代理设置
//本地代理设置
proxyTable
:
{
proxyTable
:
{
'/api'
:
{
'/api'
:
{
//
target: 'http://local.base-api.sing.com', // 接口的域名
target
:
'http://local.base-api.sing.com'
,
// 接口的域名
target
:
'http://wechat.test.singsingenglish.com/'
,
//
target: 'http://wechat.test.singsingenglish.com/',
changeOrigin
:
true
,
// 如果接口跨域,需要进行这个参数配置
changeOrigin
:
true
,
// 如果接口跨域,需要进行这个参数配置
}
}
},
},
...
...
dist/index.html
View file @
6033412e
<!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.e4a339598693ed943398a7231f957023.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.53f0f3d0c8d67ef2f3a0.js
></script><script
type=
text/javascript
src=
/static/js/vendor.9122c146b78876133e6f.js
></script><script
type=
text/javascript
src=
/static/js/app.7db59e0a9c217bdd5de2.js
></script></body></html>
<!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.d0b13b798a8f118ac77da16d4fc9a1a3.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.59b8cf8117b2d2050955.js
></script><script
type=
text/javascript
src=
/static/js/vendor.9122c146b78876133e6f.js
></script><script
type=
text/javascript
src=
/static/js/app.25ba3a0e18d285b0fb5b.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
e4a339598693ed943398a7231f95702
3.css
→
dist/static/css/app.
d0b13b798a8f118ac77da16d4fc9a1a
3.css
View file @
6033412e
This diff is collapsed.
Click to expand it.
dist/static/js/0.
e84265a849badec441c8
.js
→
dist/static/js/0.
905ab761eb081f07ec1d
.js
View file @
6033412e
File moved
dist/static/js/2
5.ed6e48c5f7d722152b7d
.js
→
dist/static/js/2
1.1cff5e892f2304c25d41
.js
View file @
6033412e
This diff is collapsed.
Click to expand it.
dist/static/js/2
1.a6520d585e6bc88515ed
.js
→
dist/static/js/2
2.a13143900b034ede203b
.js
View file @
6033412e
This diff is collapsed.
Click to expand it.
dist/static/js/2
2.2149cac6e44654f98154
.js
→
dist/static/js/2
3.b3ac04d0c021899a4fc3
.js
View file @
6033412e
webpackJsonp
([
22
],{
hFUZ
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
l
=
e
(
"CCn6"
),
s
=
e
(
"+TkF"
),
i
=
{
name
:
"index"
,
components
:{
page
:
e
(
"kmJW"
).
a
},
data
:
function
(){
return
{
list
:[],
id
:
""
,
detail
:{},
total
:
0
,
limit
:
10
,
nowPage
:
1
}},
methods
:{
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getTeacherDetail
()},
getTeacherDetail
:
function
(){
var
t
=
this
,
a
=
this
.
id
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
l
.
_25
)(
a
,
e
).
then
(
function
(
a
){
a
.
class_list
&&
(
t
.
list
=
a
.
class_list
.
list
||
[],
t
.
total
=
a
.
class_list
.
total
),
t
.
detail
=
a
})}},
filters
:{
teacherType
:
function
(
t
){
return
s
.
l
[
t
]}},
mounted
:
function
(){
this
.
id
=
this
.
$route
.
params
.
id
,
this
.
getTeacherDetail
()}},
n
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"teacher"
},[
e
(
"div"
,{
staticClass
:
"header"
},[
e
(
"el-row"
,[
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"老师:"
)]),
t
.
_v
(
t
.
_s
(
t
.
_f
(
"teacherType"
)(
t
.
detail
.
type
))
+
" "
+
t
.
_s
(
t
.
detail
.
name
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
alias
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"二维码:"
)]),
t
.
_v
(
" "
),
e
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
qr
}},[
e
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
qr
}})])]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"老师状态:"
)]),
t
.
_v
(
t
.
_s
(
0
===
t
.
detail
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)])],
1
),
t
.
_v
(
" "
),
t
.
detail
.
user_info
?
e
(
"el-row"
,[
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"绑定用户:"
)]),
t
.
_v
(
" "
),
e
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
user_info
.
avatar
,
target
:
"_blank"
}},[
e
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
user_info
.
avatar
}})]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
detail
.
user_info
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
detail
.
user_info
.
user_id
)
+
")
\n
"
)])],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
e
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
}},[
e
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"班级ID"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"参加人数"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大班级人数"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开始时间"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
t
.
_v
(
" "
),
e
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
}})],
1
)},
staticRenderFns
:[]};
var
r
=
e
(
"VU/8"
)(
i
,
n
,
!
1
,
function
(
t
){
e
(
"qo1z"
)},
"data-v-bbfdc2f8"
,
null
);
a
.
default
=
r
.
exports
},
qo1z
:
function
(
t
,
a
){}});
webpackJsonp
([
23
],{
hFUZ
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
l
=
e
(
"CCn6"
),
s
=
e
(
"+TkF"
),
i
=
{
name
:
"index"
,
components
:{
page
:
e
(
"kmJW"
).
a
},
data
:
function
(){
return
{
list
:[],
id
:
""
,
detail
:{},
total
:
0
,
limit
:
10
,
nowPage
:
1
}},
methods
:{
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getTeacherDetail
()},
getTeacherDetail
:
function
(){
var
t
=
this
,
a
=
this
.
id
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
l
.
_25
)(
a
,
e
).
then
(
function
(
a
){
a
.
class_list
&&
(
t
.
list
=
a
.
class_list
.
list
||
[],
t
.
total
=
a
.
class_list
.
total
),
t
.
detail
=
a
})}},
filters
:{
teacherType
:
function
(
t
){
return
s
.
l
[
t
]}},
mounted
:
function
(){
this
.
id
=
this
.
$route
.
params
.
id
,
this
.
getTeacherDetail
()}},
n
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"teacher"
},[
e
(
"div"
,{
staticClass
:
"header"
},[
e
(
"el-row"
,[
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"老师:"
)]),
t
.
_v
(
t
.
_s
(
t
.
_f
(
"teacherType"
)(
t
.
detail
.
type
))
+
" "
+
t
.
_s
(
t
.
detail
.
name
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
alias
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"二维码:"
)]),
t
.
_v
(
" "
),
e
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
qr
}},[
e
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
qr
}})])]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"老师状态:"
)]),
t
.
_v
(
t
.
_s
(
0
===
t
.
detail
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)])],
1
),
t
.
_v
(
" "
),
t
.
detail
.
user_info
?
e
(
"el-row"
,[
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"绑定用户:"
)]),
t
.
_v
(
" "
),
e
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
user_info
.
avatar
,
target
:
"_blank"
}},[
e
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
user_info
.
avatar
}})]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
detail
.
user_info
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
detail
.
user_info
.
user_id
)
+
")
\n
"
)])],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
e
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
}},[
e
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"班级ID"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"参加人数"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大班级人数"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开始时间"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
t
.
_v
(
" "
),
e
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
}})],
1
)},
staticRenderFns
:[]};
var
r
=
e
(
"VU/8"
)(
i
,
n
,
!
1
,
function
(
t
){
e
(
"qo1z"
)},
"data-v-bbfdc2f8"
,
null
);
a
.
default
=
r
.
exports
},
qo1z
:
function
(
t
,
a
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/2
3.5b8bdbaad9a2d957df3d
.js
→
dist/static/js/2
4.2bca9087d93c1145e1e1
.js
View file @
6033412e
webpackJsonp
([
23
],{
XeyP
:
function
(
t
,
e
){},
Xhqp
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"CCn6"
),
s
=
{
name
:
"resource"
,
data
:
function
(){
return
{
mediaList
:[],
nowPage
:
1
,
total
:
0
,
limit
:
5
,
loading
:
!
1
,
type
:
"image"
,
imageList
:[],
uploadParam
:{
type
:
"wechat"
,
chunk
:
0
,
count
:
1
},
fileUid
:
null
,
showProgress
:
!
1
,
typeText
:{
image
:
"图片"
,
video
:
"视频"
,
voice
:
"语音"
}}},
components
:{
page
:
i
(
"kmJW"
).
a
},
mounted
:
function
(){
this
.
getMediaList
(
this
.
type
)},
computed
:{
progress
:
function
(){
var
t
=
this
;
return
this
.
$store
.
state
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
fileUid
}).
num
<
100
?
this
.
$store
.
state
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
fileUid
}).
num
:
100
}},
methods
:{
getMediaType
:
function
(
t
){
this
.
type
=
t
,
this
.
nowPage
=
1
,
this
.
getMediaList
(
t
)},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getMediaList
(
this
.
type
)},
getMediaList
:
function
(
t
){
var
e
=
this
,
i
=
{
type
:
t
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
loading
=!
0
,
Object
(
a
.
_14
)(
i
).
then
(
function
(
i
){
e
.
loading
=!
1
,
e
.
type
=
t
,
e
.
mediaList
=
i
.
item
,
e
.
total
=
i
.
total_count
,
0
===
i
.
item
.
length
&&
e
.
$message
({
showClose
:
!
0
,
message
:
"暂无数据"
})}).
catch
(
function
(){
e
.
loading
=!
1
})},
handleUploadSuccess
:
function
(
t
){
console
.
log
(
"handleUploadSuccess"
,
t
),
200
===
t
.
code
&&
(
this
.
imageList
=
[{
name
:
t
.
data
.
url
,
url
:
"http://cdn.singsingenglish.com/"
+
t
.
data
.
url
}])},
uploadFile
:
function
(
t
){
var
e
=
this
;
this
.
loading
=!
0
,
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
t
.
file
.
uid
}),
this
.
fileUid
=
t
.
file
.
uid
,
this
.
showProgress
=!
0
,
Object
(
a
.
_43
)({
file
:
t
.
file
,
type
:
"wechat"
}).
then
(
function
(
t
){
e
.
imageList
=
[{
name
:
t
.
url
,
url
:
"http://cdn.singsingenglish.com/"
+
t
.
url
}],
e
.
getMediaList
(
e
.
type
),
e
.
loading
=!
1
,
e
.
showProgress
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
e
.
loading
=!
1
,
e
.
showProgress
=!
1
})}}},
n
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"media"
},[
i
(
"h2"
,{
staticClass
:
"media-title"
},[
t
.
_v
(
"素材管理"
)]),
t
.
_v
(
" "
),
i
(
"div"
,[
i
(
"ul"
,{
staticClass
:
"media-navs"
},[
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"image"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"image"
)}}},[
t
.
_m
(
0
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"voice"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"voice"
)}}},[
t
.
_m
(
1
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"video"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"video"
)}}},[
t
.
_m
(
2
)])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"media-panel"
},[
i
(
"div"
,{
staticClass
:
"media-panel-top flex-bt"
},[
i
(
"div"
,{
staticClass
:
"media-panel-top-left"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
typeText
[
t
.
type
])
+
"(共"
+
t
.
_s
(
t
.
total
)
+
"条)
\n
"
)]),
t
.
_v
(
" "
),
t
.
showProgress
?
i
(
"div"
,{
staticClass
:
"progress"
},[
i
(
"el-progress"
,{
attrs
:{
percentage
:
t
.
progress
,
status
:
"success"
}})],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"media-panel-top-right"
},[
i
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
t
.
uploadFile
,
"show-file-list"
:
!
1
,
data
:
t
.
uploadParam
}},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
staticStyle
:{
order
:
"2"
},
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
t
.
mediaList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
mediaList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
"image"
===
t
.
type
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
url
,
target
:
"_blank"
}},[
i
(
"img"
,{
staticStyle
:{
width
:
"60px"
},
attrs
:{
src
:
e
.
row
.
url
}})]):
t
.
_e
(),
t
.
_v
(
" "
),
"video"
===
t
.
type
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
info
.
down_url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
info
.
title
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
"voice"
===
t
.
type
?
i
(
"audio"
,{
attrs
:{
id
:
"myAudio"
,
controls
:
""
}},[
i
(
"source"
,{
attrs
:{
src
:
e
.
row
.
url
}}),
t
.
_v
(
"
\n
Your browser does not support the audio element.
\n
"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
}})],
1
):
t
.
_e
()])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"图片"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"语音"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"视频"
),
e
(
"br"
)])}]};
var
o
=
i
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
t
){
i
(
"XeyP"
)},
"data-v-b8695b20"
,
null
);
e
.
default
=
o
.
exports
}});
webpackJsonp
([
24
],{
XeyP
:
function
(
t
,
e
){},
Xhqp
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"CCn6"
),
s
=
{
name
:
"resource"
,
data
:
function
(){
return
{
mediaList
:[],
nowPage
:
1
,
total
:
0
,
limit
:
5
,
loading
:
!
1
,
type
:
"image"
,
imageList
:[],
uploadParam
:{
type
:
"wechat"
,
chunk
:
0
,
count
:
1
},
fileUid
:
null
,
showProgress
:
!
1
,
typeText
:{
image
:
"图片"
,
video
:
"视频"
,
voice
:
"语音"
}}},
components
:{
page
:
i
(
"kmJW"
).
a
},
mounted
:
function
(){
this
.
getMediaList
(
this
.
type
)},
computed
:{
progress
:
function
(){
var
t
=
this
;
return
this
.
$store
.
state
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
fileUid
}).
num
<
100
?
this
.
$store
.
state
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
fileUid
}).
num
:
100
}},
methods
:{
getMediaType
:
function
(
t
){
this
.
type
=
t
,
this
.
nowPage
=
1
,
this
.
getMediaList
(
t
)},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getMediaList
(
this
.
type
)},
getMediaList
:
function
(
t
){
var
e
=
this
,
i
=
{
type
:
t
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
loading
=!
0
,
Object
(
a
.
_14
)(
i
).
then
(
function
(
i
){
e
.
loading
=!
1
,
e
.
type
=
t
,
e
.
mediaList
=
i
.
item
,
e
.
total
=
i
.
total_count
,
0
===
i
.
item
.
length
&&
e
.
$message
({
showClose
:
!
0
,
message
:
"暂无数据"
})}).
catch
(
function
(){
e
.
loading
=!
1
})},
handleUploadSuccess
:
function
(
t
){
console
.
log
(
"handleUploadSuccess"
,
t
),
200
===
t
.
code
&&
(
this
.
imageList
=
[{
name
:
t
.
data
.
url
,
url
:
"http://cdn.singsingenglish.com/"
+
t
.
data
.
url
}])},
uploadFile
:
function
(
t
){
var
e
=
this
;
this
.
loading
=!
0
,
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
t
.
file
.
uid
}),
this
.
fileUid
=
t
.
file
.
uid
,
this
.
showProgress
=!
0
,
Object
(
a
.
_43
)({
file
:
t
.
file
,
type
:
"wechat"
}).
then
(
function
(
t
){
e
.
imageList
=
[{
name
:
t
.
url
,
url
:
"http://cdn.singsingenglish.com/"
+
t
.
url
}],
e
.
getMediaList
(
e
.
type
),
e
.
loading
=!
1
,
e
.
showProgress
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
e
.
loading
=!
1
,
e
.
showProgress
=!
1
})}}},
n
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"media"
},[
i
(
"h2"
,{
staticClass
:
"media-title"
},[
t
.
_v
(
"素材管理"
)]),
t
.
_v
(
" "
),
i
(
"div"
,[
i
(
"ul"
,{
staticClass
:
"media-navs"
},[
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"image"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"image"
)}}},[
t
.
_m
(
0
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"voice"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"voice"
)}}},[
t
.
_m
(
1
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"video"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"video"
)}}},[
t
.
_m
(
2
)])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"media-panel"
},[
i
(
"div"
,{
staticClass
:
"media-panel-top flex-bt"
},[
i
(
"div"
,{
staticClass
:
"media-panel-top-left"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
typeText
[
t
.
type
])
+
"(共"
+
t
.
_s
(
t
.
total
)
+
"条)
\n
"
)]),
t
.
_v
(
" "
),
t
.
showProgress
?
i
(
"div"
,{
staticClass
:
"progress"
},[
i
(
"el-progress"
,{
attrs
:{
percentage
:
t
.
progress
,
status
:
"success"
}})],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"media-panel-top-right"
},[
i
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
t
.
uploadFile
,
"show-file-list"
:
!
1
,
data
:
t
.
uploadParam
}},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
staticStyle
:{
order
:
"2"
},
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
t
.
mediaList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
mediaList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
"image"
===
t
.
type
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
url
,
target
:
"_blank"
}},[
i
(
"img"
,{
staticStyle
:{
width
:
"60px"
},
attrs
:{
src
:
e
.
row
.
url
}})]):
t
.
_e
(),
t
.
_v
(
" "
),
"video"
===
t
.
type
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
info
.
down_url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
info
.
title
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
"voice"
===
t
.
type
?
i
(
"audio"
,{
attrs
:{
id
:
"myAudio"
,
controls
:
""
}},[
i
(
"source"
,{
attrs
:{
src
:
e
.
row
.
url
}}),
t
.
_v
(
"
\n
Your browser does not support the audio element.
\n
"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
}})],
1
):
t
.
_e
()])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"图片"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"语音"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"视频"
),
e
(
"br"
)])}]};
var
o
=
i
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
t
){
i
(
"XeyP"
)},
"data-v-b8695b20"
,
null
);
e
.
default
=
o
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/2
4.fa91fb2989f9333b0b71
.js
→
dist/static/js/2
5.e24c5f35c405369b6432
.js
View file @
6033412e
webpackJsonp
([
24
],{
WZgi
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
l
=
a
(
"CCn6"
),
r
=
{
name
:
"sysConfig"
,
components
:{
page
:
a
(
"kmJW"
).
a
},
data
:
function
(){
return
{
list
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
admin_id
:
""
,
url
:
""
,
desc
:
""
}}},
mounted
:
function
(){
this
.
getList
()},
methods
:{
getList
:
function
(){
var
e
=
this
;
this
.
searchFrom
.
page
=
this
.
nowPage
;
var
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
admin_id
&&
(
t
.
admin_id
=
this
.
searchFrom
.
admin_id
),
this
.
searchFrom
.
url
&&
(
t
.
url
=
this
.
searchFrom
.
url
),
this
.
searchFrom
.
desc
&&
(
t
.
desc
=
this
.
searchFrom
.
desc
),
Object
(
l
.
V
)(
t
).
then
(
function
(
t
){
e
.
list
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"log"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
admin_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"admin_id"
,
t
)},
expression
:
"searchFrom.admin_id"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
url
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"url"
,
t
)},
expression
:
"searchFrom.url"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"功能名"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"desc"
,
t
)},
expression
:
"searchFrom.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-form"
,{
staticClass
:
"demo-table-expand"
,
attrs
:{
"label-position"
:
"left"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求方法"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
method
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求链接"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
url
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"参数"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
params
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"登陆名"
,
prop
:
"user_name"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户ID"
,
prop
:
"admin_id"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户名"
,
prop
:
"user_desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"功能名"
,
prop
:
"desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
}})],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
r
,
s
,
!
1
,
function
(
e
){
a
(
"nrSE"
)},
"data-v-4d31dc4f"
,
null
);
t
.
default
=
o
.
exports
},
nrSE
:
function
(
e
,
t
){}});
webpackJsonp
([
25
],{
WZgi
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
l
=
a
(
"CCn6"
),
r
=
{
name
:
"sysConfig"
,
components
:{
page
:
a
(
"kmJW"
).
a
},
data
:
function
(){
return
{
list
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
admin_id
:
""
,
url
:
""
,
desc
:
""
}}},
mounted
:
function
(){
this
.
getList
()},
methods
:{
getList
:
function
(){
var
e
=
this
;
this
.
searchFrom
.
page
=
this
.
nowPage
;
var
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
admin_id
&&
(
t
.
admin_id
=
this
.
searchFrom
.
admin_id
),
this
.
searchFrom
.
url
&&
(
t
.
url
=
this
.
searchFrom
.
url
),
this
.
searchFrom
.
desc
&&
(
t
.
desc
=
this
.
searchFrom
.
desc
),
Object
(
l
.
V
)(
t
).
then
(
function
(
t
){
e
.
list
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"log"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
admin_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"admin_id"
,
t
)},
expression
:
"searchFrom.admin_id"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
url
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"url"
,
t
)},
expression
:
"searchFrom.url"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"功能名"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"desc"
,
t
)},
expression
:
"searchFrom.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-form"
,{
staticClass
:
"demo-table-expand"
,
attrs
:{
"label-position"
:
"left"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求方法"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
method
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求链接"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
url
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"参数"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
params
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"登陆名"
,
prop
:
"user_name"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户ID"
,
prop
:
"admin_id"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户名"
,
prop
:
"user_desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"功能名"
,
prop
:
"desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
}})],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
r
,
s
,
!
1
,
function
(
e
){
a
(
"nrSE"
)},
"data-v-4d31dc4f"
,
null
);
t
.
default
=
o
.
exports
},
nrSE
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/app.
7db59e0a9c217bdd5de2
.js
→
dist/static/js/app.
25ba3a0e18d285b0fb5b
.js
View file @
6033412e
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.5
3f0f3d0c8d67ef2f3a0
.js
→
dist/static/js/manifest.5
9b8cf8117b2d2050955
.js
View file @
6033412e
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
t
,
a
){
for
(
var
d
,
o
,
b
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
o
=
f
[
i
],
n
[
o
]
&&
u
.
push
(
n
[
o
][
0
]),
n
[
o
]
=
0
;
for
(
d
in
t
)
Object
.
prototype
.
hasOwnProperty
.
call
(
t
,
d
)
&&
(
e
[
d
]
=
t
[
d
]);
for
(
c
&&
c
(
f
,
t
,
a
);
u
.
length
;)
u
.
shift
()();
if
(
a
)
for
(
i
=
0
;
i
<
a
.
length
;
i
++
)
b
=
r
(
r
.
s
=
a
[
i
]);
return
b
};
var
f
=
{},
n
=
{
32
:
0
};
function
r
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
n
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
n
.
exports
,
n
,
n
.
exports
,
r
),
n
.
l
=!
0
,
n
.
exports
}
r
.
e
=
function
(
e
){
var
c
=
n
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
r
){
c
=
n
[
e
]
=
[
f
,
r
]});
c
[
2
]
=
f
;
var
t
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
r
.
nc
&&
a
.
setAttribute
(
"nonce"
,
r
.
nc
),
a
.
src
=
r
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"e84265a849badec441c8"
,
1
:
"0052bf83b427b23f54b3"
,
2
:
"71ce0e8534ad0fb7a6cc"
,
3
:
"58df26638cb030357eb5"
,
4
:
"050046070d14b6d5dfef"
,
5
:
"2941036bd5eef756ecd2"
,
6
:
"090d3c91fe1290595ffc"
,
7
:
"77794e8aa5f30ed3bbf9"
,
8
:
"5dc8a96d8dc6aa6c173d"
,
9
:
"7d0140bc9f5f8fede1eb"
,
10
:
"8a113291e55554bd2281"
,
11
:
"0c81e93578aee6e54261"
,
12
:
"f67dc6647a7d0fec3ef3"
,
13
:
"ab7bad53bb2b286a5480"
,
14
:
"c5bff20c73cfa0fcec4e"
,
15
:
"beaedf43b9ef65d6531c"
,
16
:
"e51f5256213b5603773f"
,
17
:
"d10e46914ac273ee1e9e"
,
18
:
"d5570ab41c4a322b181a"
,
19
:
"23405634c017d755d44a"
,
20
:
"f5020fec0cbfc7819635"
,
21
:
"a6520d585e6bc88515ed"
,
22
:
"2149cac6e44654f98154"
,
23
:
"5b8bdbaad9a2d957df3d"
,
24
:
"fa91fb2989f9333b0b71"
,
25
:
"ed6e48c5f7d722152b7d"
,
26
:
"ed25837110be08a8fd1d"
,
27
:
"aed1710fdee959b271f5"
,
28
:
"acc72ffbf31d9875340f"
,
29
:
"e6dadb057c2f8f3818c9"
}[
e
]
+
".js"
;
var
d
=
setTimeout
(
o
,
12
e4
);
function
o
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
d
);
var
c
=
n
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
o
,
t
.
appendChild
(
a
),
f
},
r
.
m
=
e
,
r
.
c
=
f
,
r
.
d
=
function
(
e
,
c
,
f
){
r
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
r
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
c
,
"a"
,
c
),
c
},
r
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
r
.
p
=
"/"
,
r
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
t
,
a
){
for
(
var
o
,
d
,
b
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
d
=
f
[
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
(
c
&&
c
(
f
,
t
,
a
);
u
.
length
;)
u
.
shift
()();
if
(
a
)
for
(
i
=
0
;
i
<
a
.
length
;
i
++
)
b
=
r
(
r
.
s
=
a
[
i
]);
return
b
};
var
f
=
{},
n
=
{
32
:
0
};
function
r
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
n
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
n
.
exports
,
n
,
n
.
exports
,
r
),
n
.
l
=!
0
,
n
.
exports
}
r
.
e
=
function
(
e
){
var
c
=
n
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
r
){
c
=
n
[
e
]
=
[
f
,
r
]});
c
[
2
]
=
f
;
var
t
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
r
.
nc
&&
a
.
setAttribute
(
"nonce"
,
r
.
nc
),
a
.
src
=
r
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"905ab761eb081f07ec1d"
,
1
:
"0052bf83b427b23f54b3"
,
2
:
"71ce0e8534ad0fb7a6cc"
,
3
:
"58df26638cb030357eb5"
,
4
:
"050046070d14b6d5dfef"
,
5
:
"2941036bd5eef756ecd2"
,
6
:
"090d3c91fe1290595ffc"
,
7
:
"77794e8aa5f30ed3bbf9"
,
8
:
"5dc8a96d8dc6aa6c173d"
,
9
:
"7d0140bc9f5f8fede1eb"
,
10
:
"8a113291e55554bd2281"
,
11
:
"0c81e93578aee6e54261"
,
12
:
"f67dc6647a7d0fec3ef3"
,
13
:
"ab7bad53bb2b286a5480"
,
14
:
"c5bff20c73cfa0fcec4e"
,
15
:
"beaedf43b9ef65d6531c"
,
16
:
"e51f5256213b5603773f"
,
17
:
"d10e46914ac273ee1e9e"
,
18
:
"d5570ab41c4a322b181a"
,
19
:
"23405634c017d755d44a"
,
20
:
"f5020fec0cbfc7819635"
,
21
:
"1cff5e892f2304c25d41"
,
22
:
"a13143900b034ede203b"
,
23
:
"b3ac04d0c021899a4fc3"
,
24
:
"2bca9087d93c1145e1e1"
,
25
:
"e24c5f35c405369b6432"
,
26
:
"ed25837110be08a8fd1d"
,
27
:
"aed1710fdee959b271f5"
,
28
:
"acc72ffbf31d9875340f"
,
29
:
"e6dadb057c2f8f3818c9"
}[
e
]
+
".js"
;
var
o
=
setTimeout
(
d
,
12
e4
);
function
d
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
o
);
var
c
=
n
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
d
,
t
.
appendChild
(
a
),
f
},
r
.
m
=
e
,
r
.
c
=
f
,
r
.
d
=
function
(
e
,
c
,
f
){
r
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
r
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
c
,
"a"
,
c
),
c
},
r
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
r
.
p
=
"/"
,
r
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/router/index.js
View file @
6033412e
...
@@ -93,5 +93,12 @@ router.beforeEach((to,from,next)=> {
...
@@ -93,5 +93,12 @@ router.beforeEach((to,from,next)=> {
next
()
next
()
}
}
});
});
router
.
onError
((
error
)
=>
{
const
pattern
=
/Loading chunk
(\d)
+ failed/g
;
const
isChunkLoadFailed
=
error
.
message
.
match
(
pattern
);
const
targetPath
=
router
.
history
.
pending
.
fullPath
;
if
(
isChunkLoadFailed
)
{
router
.
replace
(
targetPath
);
}
});
export
default
router
;
export
default
router
;
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