**useRouter().currentRoute.value.path**使用此代码块可以获取当前的路由地址

import { useRouter } from 'vue-router'

Logo

前往低代码交流专区

更多推荐