修正完了error

This commit is contained in:
2020-10-22 11:04:04 +08:00
parent 854ce7191c
commit ff85285fb4
22 changed files with 303 additions and 295 deletions

View File

@@ -190,6 +190,11 @@ export default defineComponent({
onMounted(async () => {
livelist.value = await getlivelist();
});
async function tab(){
input.value = '';
livelist.value = await getlivelist({ status: tabindex.value});
}
function tabchange(e: number): void {
tabindex.value = e;
livelist.value = {data:[], code: 0, msg: "",total: 0};
@@ -199,11 +204,7 @@ export default defineComponent({
console.log(input.value);
livelist.value = await getlivelist({title: input.value});
}
async function tab(){
input.value = '';
livelist.value = await getlivelist({ status: tabindex.value});
}
return {
page,
tabindex,