xbx #118

Merged
theluyuan merged 10 commits from xbx into master 2020-11-06 15:45:06 +00:00
Showing only changes of commit cf1e2ed768 - Show all commits

View File

@ -187,7 +187,7 @@ export default defineComponent({
setup() {
const lan: any = useI18n();
const page = ref(1);
const tabindex = ref(1);
const tabindex = ref<number | string>(1);
const livelist = ref<LivelistInfo>({
code: 0,
total: 0,
@ -200,7 +200,11 @@ export default defineComponent({
});
async function tab(){
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 {