[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fNGj8o6SnKGljXa0V5a3y0XZtBF4lhSj7P6yV7oMDANw":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",146587360,[8,9,10,11],"this.$route.params.id","this.router.params.id","this.$router.params.id","this.route.params.id",{"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","路由","以下获取动态路由{ path: '\u002Fuser\u002F:id' }中id的值正确的是",[21,32,42,45,54,63,72,77,86,95],{"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":6,"options":44,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":46,"createTime":5,"id":47,"options":48,"question":53,"source":30,"type":31},[],146587362,[49,50,51,52],"beforeEnter是单个路由守卫","以上说法都是错误的","afterEach是全局后置守卫","beforeEach是全局前置守卫","关于导航守卫说法错误的是",{"answer":55,"createTime":5,"id":56,"options":57,"question":62,"source":30,"type":31},[],146587363,[58,59,60,61],"push()方法","jump()方法答案:D","replace()方法","router-link 组件","以下选项中不可以进行路由跳转的是( )",{"answer":64,"createTime":5,"id":65,"options":66,"question":71,"source":30,"type":31},[],146587364,[67,68,69,70],"npm Install vueRouter","node install vue-router","npm vue-router","npm install vue-router","下列 vue-router 插件的安装命令,正确的是",{"answer":73,"createTime":5,"id":74,"options":75,"question":76,"source":30,"type":31},[],146587365,[8,10,9,11],"以下获取动态路由{ path: '\u002Fuser\u002F:id' }中 id 的值正确的是( )",{"answer":78,"createTime":5,"id":79,"options":80,"question":85,"source":30,"type":31},[],146587366,[81,82,83,84],"query方式传递的参数会在地址栏展示","在目标页面中使用&quot;this. route.query.参数名&quot;来获取参数","在页面跳转的时候,不能在地址栏看到请求参数","在目标页面中使用&quot;this.$route.params.参数名&quot;来获取参数","下列关于 query 方式传参的说法,正确的是",{"answer":87,"createTime":5,"id":88,"options":89,"question":94,"source":30,"type":31},[],146587367,[90,91,92,93],"组件内的钩子","页面钩子","全局导航钩子","单个路由独享组件","以下哪种选项不是vue-router的导航钩子",{"answer":96,"createTime":5,"id":97,"options":98,"question":103,"source":30,"type":31},[],146587368,[99,100,101,102],"报错","以上都不对","undefined","VueCompent实例","在beforeRouteEnter钩子函数中进行console.log(this),其结果为"]