我的索引路由定义为:{path:'/',adminOnly:false,component:Main},有没有办法访问“adminOnly”属性?在这段代码中似乎没有办法这样做:routes.beforeEach((to,from,next)=>{console.log(to)next();});我的路线文件:importVuefrom'vue';importVueRouterfrom'vue-router';importMainfrom'../components/Main.vue';importAboutfrom'../components/About.vue';constNotF