change default view

This commit is contained in:
liangping 2023-05-26 08:04:40 +08:00
parent afb05e08c0
commit 48d81f16c7

View File

@ -99,7 +99,9 @@ const commits2 = computed(() => {
onUnmounted(() => { onUnmounted(() => {
live.value = false; live.value = false;
}); });
const tab = ref(window.location.hash.search("block")>-1?"2":"3")
//const tab = ref(window.location.hash.search("block")>-1?"2":"3")
const tab = ref("2")
function changeTab(v: string) { function changeTab(v: string) {
tab.value = v tab.value = v
} }