课程说明云点播
This commit is contained in:
@@ -190,7 +190,8 @@
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
}).then(res => {
|
||||
if (res.code == 0 && res.page.records.length > 0) {
|
||||
if (res.code == 0) {
|
||||
if(res.page.records.length > 0){
|
||||
var _list = res.page.records
|
||||
this.productList = this.productList.concat(_list)
|
||||
if (res.page.pages > this.pObj.page) {
|
||||
@@ -199,7 +200,9 @@
|
||||
// 加载完毕
|
||||
this.pObj.status = 2
|
||||
}
|
||||
|
||||
}else{
|
||||
this.pObj.status = 3
|
||||
}
|
||||
}
|
||||
this.pObj.pFlag = true
|
||||
}).catch(e => {
|
||||
@@ -225,7 +228,8 @@
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
}).then(res => {
|
||||
if (res.code == 0 && res.page.records.length > 0) {
|
||||
if (res.code == 0) {
|
||||
if( res.page.records.length > 0){
|
||||
var _list = res.page.records
|
||||
this.newsList = this.newsList.concat(_list)
|
||||
if (res.page.pages > this.nObj.page) {
|
||||
@@ -234,7 +238,9 @@
|
||||
// 加载完毕
|
||||
this.nObj.status = 2
|
||||
}
|
||||
|
||||
}else{
|
||||
this.nObj.status = 3
|
||||
}
|
||||
}
|
||||
this.nObj.nFlag = true
|
||||
}).catch(e => {
|
||||
@@ -249,6 +255,7 @@
|
||||
}
|
||||
this.tabId = e.id
|
||||
console.log(e, '点击')
|
||||
// this.getnewsData()
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user