|
|
@@ -87,8 +87,7 @@ export default {
|
|
|
totalPages: 0,
|
|
|
totalSize: 0,
|
|
|
dataList: [],
|
|
|
- categoryId: 19,
|
|
|
- currentIndex: 0,
|
|
|
+ categoryId: 20,
|
|
|
currentCategory: 0,
|
|
|
currentChildCategory: 0,
|
|
|
categoryMap: {
|
|
|
@@ -107,7 +106,6 @@ export default {
|
|
|
videoCategory().then(resp => {
|
|
|
if (resp.code === 0) {
|
|
|
for (let i = 0; i < resp.data.length; i++) {
|
|
|
- const name = resp.data[i].name
|
|
|
this.category.push(resp.data[i])
|
|
|
this.categoryMap.Set(resp.data[i].id, resp.data[i])
|
|
|
}
|
|
|
@@ -182,7 +180,7 @@ export default {
|
|
|
this.categoryId = categoryId;
|
|
|
this.currentPage = 1
|
|
|
this.dataList = []
|
|
|
- this.videoPageWrapper(this.categoryId, this.nextId)
|
|
|
+ this.videoPageWrapper(this.categoryId, this.currentPage)
|
|
|
}
|
|
|
}
|
|
|
}
|