change default view

This commit is contained in:
liangping
2023-05-26 08:04:40 +08:00
parent afb05e08c0
commit 48d81f16c7
+3 -1
View File
@@ -99,7 +99,9 @@ const commits2 = computed(() => {
onUnmounted(() => {
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) {
tab.value = v
}