This commit is contained in:
““shijing 2021-08-25 15:02:20 +08:00
parent 52f2635f9e
commit 5ecb34dd1f
1 changed files with 8 additions and 6 deletions

View File

@ -30,10 +30,12 @@
}
},
onShow(){
this.$u.api.getMyVideoRecord({}).then(res => {
this.dataList = res.data.results;
console.log(res.data.results)
})
this.page = 1;
this.getLists();
// this.$u.api.getMyVideoRecord({}).then(res => {
// this.dataList = res.data.results;
// console.log(res.data.results)
// })
},
methods: {
plauVideo(item){
@ -56,11 +58,11 @@
var params = {
page: this.page
}
this.$u.api.getVideos(params).then(res => {
this.$u.api.getMyVideoRecord(params).then(res => {
this.refreStatus = false
let results = res.data.results
if (currentData.page == 1) {
if (this.page == 1) {
if (results == 0) {
this.loadingText = '暂无观看记录'
} else {