更改viewtype方式

This commit is contained in:
李志鹏
2025-12-29 14:48:54 +08:00
parent 59c864fef3
commit 8cb77593f8
15 changed files with 14 additions and 68 deletions

View File

@@ -2,10 +2,7 @@
import { ref, onMounted } from 'vue'
import { useRouter } from 'vue-router'
const router = useRouter()
const emit = defineEmits(['view-type'])
onMounted(() => {
emit('view-type', 1)
})
const onExit = () => {
console.log('exit')
}