Jor*_*dan 5 nuxt.js
如何访问 store.js 文件中的路由?
我想要访问store.jspath并fullPath在其中。
path
fullPath
Har*_*hah 2
您应该能够访问fullPathNuxt.js 中的内部商店,如下所示
完整路径:this.$router.currentRoute.fullPath
this.$router.currentRoute.fullPath
询问:this.$router.currentRoute.query
this.$router.currentRoute.query
希望对你有帮助!
归档时间:
5 年,5 月 前
查看次数:
7004 次
最近记录:
5 年 前