video
This commit is contained in:
parent
52f2635f9e
commit
5ecb34dd1f
|
@ -30,10 +30,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow(){
|
onShow(){
|
||||||
this.$u.api.getMyVideoRecord({}).then(res => {
|
this.page = 1;
|
||||||
this.dataList = res.data.results;
|
this.getLists();
|
||||||
console.log(res.data.results)
|
// this.$u.api.getMyVideoRecord({}).then(res => {
|
||||||
})
|
// this.dataList = res.data.results;
|
||||||
|
// console.log(res.data.results)
|
||||||
|
// })
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
plauVideo(item){
|
plauVideo(item){
|
||||||
|
@ -56,11 +58,11 @@
|
||||||
var params = {
|
var params = {
|
||||||
page: this.page
|
page: this.page
|
||||||
}
|
}
|
||||||
this.$u.api.getVideos(params).then(res => {
|
this.$u.api.getMyVideoRecord(params).then(res => {
|
||||||
this.refreStatus = false
|
this.refreStatus = false
|
||||||
let results = res.data.results
|
let results = res.data.results
|
||||||
|
|
||||||
if (currentData.page == 1) {
|
if (this.page == 1) {
|
||||||
if (results == 0) {
|
if (results == 0) {
|
||||||
this.loadingText = '暂无观看记录'
|
this.loadingText = '暂无观看记录'
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue