直播
This commit is contained in:
parent
15e2acbbe0
commit
cf1e2ed768
@ -187,7 +187,7 @@ export default defineComponent({
|
|||||||
setup() {
|
setup() {
|
||||||
const lan: any = useI18n();
|
const lan: any = useI18n();
|
||||||
const page = ref(1);
|
const page = ref(1);
|
||||||
const tabindex = ref(1);
|
const tabindex = ref<number | string>(1);
|
||||||
const livelist = ref<LivelistInfo>({
|
const livelist = ref<LivelistInfo>({
|
||||||
code: 0,
|
code: 0,
|
||||||
total: 0,
|
total: 0,
|
||||||
@ -200,7 +200,11 @@ export default defineComponent({
|
|||||||
});
|
});
|
||||||
async function tab(){
|
async function tab(){
|
||||||
input.value = '';
|
input.value = '';
|
||||||
livelist.value = await getlivelist({ status: tabindex.value});
|
let index: string | number = '';
|
||||||
|
if(tabindex.value != 1){
|
||||||
|
index = tabindex.value
|
||||||
|
}
|
||||||
|
livelist.value = await getlivelist({ status: index});
|
||||||
|
|
||||||
}
|
}
|
||||||
function tabchange(e: number): void {
|
function tabchange(e: number): void {
|
||||||
|
Loading…
Reference in New Issue
Block a user