首页 > TAG信息列表 > loaclpath

vue3.2使用router

import router from "../router/routes"; import {ref} from "vue"; const route=ref(router.currentRoute.value) const loaclpath = () => { console.log(route.value); } loaclpath() 输出结果