watch(() => router.currentRoute.value.path, (toPath) => { checkCurrentRoute(toPath) }, { immediate: true, deep: true })
本文标题:vue3 监听路由变化
本文链接:https://www.haomeiwen.com/subject/pebwsdtx.html
网友评论