21级的知识图谱仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
551 B

<template>
<router-view></router-view>
</template>
<script lang="ts" setup>
// import { useRouter, useRoute } from 'vue-router'
// 在vue3 compositionAPI中
// 1. 获取路由对象 router useRouter
// const router = userRouter()
// 2. 获取路由参数 route useRoute()
// const route = useRooute()
// const router = useRouter()
// const goList = () => {
// router.push('/')
// }
// import {} from 'vue'
// import { useUserStore } from '@/stores/user.js'
// const userStore = useUserStore()
</script>
<style lang="scss" scoped></style>