修正了视频列表页 #75

Merged
theluyuan merged 1 commits from xbx into master 2020-10-26 10:34:36 +08:00

View File

@ -41,6 +41,7 @@
<VideoItem
v-for="(i, j) in videolist.data"
:key="j"
:videoid="i.videoid"
:img="i.img"
:title="i.title"
:score="i.score"
@ -57,6 +58,7 @@
v-for="(i, j) in videolist.data"
:key="j"
:img="i.img"
:videoid="i.videoid"
:title="i.title"
:score="i.score"
:date="i.created_at"
@ -72,6 +74,7 @@
v-for="(i, j) in videolist.data"
:key="j"
:img="i.img"
:videoid="i.videoid"
:title="i.title"
:score="i.score"
:date="i.created_at"
@ -228,6 +231,7 @@ export default defineComponent({
});
async function tabchange(e: number) {
tabindex.value = e;
videolist.value = {};
videolist.value = await getvideolist({title: input.value,page:page.value,status:e == 4 ? '' : e});
// console.log(videolist)
}