xbx #54

Merged
theluyuan merged 5 commits from xbx into master 2020-10-19 01:00:24 +00:00
Showing only changes of commit c3e33c70b5 - Show all commits

View File

@ -83,7 +83,7 @@
></VideoItem> ></VideoItem>
</div> </div>
<div class="pages"> <div class="pages">
<a-pagination v-model:current="page" :total="50" :showLessItems="true" @change="pagechange" /> <a-pagination v-model:current="page" :total="videolist.total" :showLessItems="true" @change="pagechange" />
</div> </div>
</div> </div>
</template> </template>
@ -232,6 +232,7 @@ export default defineComponent({
} }
async function sel(){ async function sel(){
console.log(input.value); console.log(input.value);
page.value = 1;
videolist.value = await getvideolist({title: input.value,page:page.value}); videolist.value = await getvideolist({title: input.value,page:page.value});
} }
async function pagechange() { async function pagechange() {