【vue3】获取当前页面路由

有三种方法 第a56爆大奖在线娱乐 import { defineComponent, ref, getCurrentInstance } from 'vue'; const { proxy }: any = getCurrentInstance(); console.log(proxy.$router.curre
posted @ 2022-04-10 10:00  朱依漾  阅读(1426)  评论(0编辑  收藏  举报