[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f0PuBSNXYZr7IjJOvHZbAoX7uNcVXGbHCs53idffdqeA":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2024-05-27 22:48:23",146587368,[8,9,10,11],"报错","以上都不对","undefined","VueCompent实例",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},28,"6942537b3febf915c2207b0124834632","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F25b30343053994e8940089572d36015b.jpg","Web前端框架应用开发","work_35226169","路由","在beforeRouteEnter钩子函数中进行console.log(this),其结果为",[21,32,42,51,60,69,78,83,92,101],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],146587356,[25,26,27,28],"如果为要访问的路径设置了重定向规则,则访问该路径时会被重定向到指定的路径","通过&lt;router-link&gt;组件的 to 属性可以设置目标地址,从而切换不同的 HTML 内容","一个被渲染的组件的模板中可以包含嵌套的&lt;router-view&gt;","使用 router 的 to()方法也可以实现导航的功能","下列关于路由的描述错误的是( )","v1",0,{"answer":33,"createTime":34,"id":35,"options":36,"question":41,"source":30,"type":31},[],"2024-05-27 22:48:55",146587358,[37,38,39,40],"replace()","push()","route-link","jump()","以下选项中不可以进行路由跳转的是",{"answer":43,"createTime":5,"id":44,"options":45,"question":50,"source":30,"type":31},[],146587360,[46,47,48,49],"this.$route.params.id","this.router.params.id","this.$router.params.id","this.route.params.id","以下获取动态路由{ path: '\u002Fuser\u002F:id' }中id的值正确的是",{"answer":52,"createTime":5,"id":53,"options":54,"question":59,"source":30,"type":31},[],146587362,[55,56,57,58],"beforeEnter是单个路由守卫","以上说法都是错误的","afterEach是全局后置守卫","beforeEach是全局前置守卫","关于导航守卫说法错误的是",{"answer":61,"createTime":5,"id":62,"options":63,"question":68,"source":30,"type":31},[],146587363,[64,65,66,67],"push()方法","jump()方法答案:D","replace()方法","router-link 组件","以下选项中不可以进行路由跳转的是( )",{"answer":70,"createTime":5,"id":71,"options":72,"question":77,"source":30,"type":31},[],146587364,[73,74,75,76],"npm Install vueRouter","node install vue-router","npm vue-router","npm install vue-router","下列 vue-router 插件的安装命令,正确的是",{"answer":79,"createTime":5,"id":80,"options":81,"question":82,"source":30,"type":31},[],146587365,[46,48,47,49],"以下获取动态路由{ path: '\u002Fuser\u002F:id' }中 id 的值正确的是( )",{"answer":84,"createTime":5,"id":85,"options":86,"question":91,"source":30,"type":31},[],146587366,[87,88,89,90],"query方式传递的参数会在地址栏展示","在目标页面中使用&quot;this. route.query.参数名&quot;来获取参数","在页面跳转的时候,不能在地址栏看到请求参数","在目标页面中使用&quot;this.$route.params.参数名&quot;来获取参数","下列关于 query 方式传参的说法,正确的是",{"answer":93,"createTime":5,"id":94,"options":95,"question":100,"source":30,"type":31},[],146587367,[96,97,98,99],"组件内的钩子","页面钩子","全局导航钩子","单个路由独享组件","以下哪种选项不是vue-router的导航钩子",{"answer":102,"createTime":5,"id":6,"options":103,"question":19,"source":30,"type":31},[],[8,9,10,11]]