[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fkiThohs289U9NrRuPVT0rWVachMN_7J9huxxyIiRX6Y":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2025-11-27 18:32:18",243482782,[8,9,10,11],"@State brands: string[] = router.getParams()","@State brands: string[] = router.getParams() as string[]","@State brands: string[] = router.getParams('brands')","@State brands: string[] = router.getParams().brands",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},25,"53e1d2ef4961cca8eea3e23969ad2cb9","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F03a579384a6dc297c89809b582fcc767.png","默认课程","1c1f44e4d5094d1190f527dcf2ade976","项目5 单元测试","若跳转时传递数组参数(如['华为', '苹果', '小米']),目标页获取参数的正确写法是( )",[21,32,41,50,59,68,77,86,89,98],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],243482775,[25,26,27,28],"router.back('pages\u002FIndex')","router.back({ path: 'pages\u002FIndex' })","router.back({ url: 'pages\u002FIndex' })","router.back({ target: 'pages\u002FIndex' })","若要从当前页直接返回到首页(pages\u002FIndex),router.back()的正确写法是( )","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],243482776,[36,37,38,39],"从首页跳转到详情页,需返回首页","从登录页跳转到首页,无需返回登录页","从列表页跳转到详情页,需返回列表页","从设置页跳转到个人中心页,需返回设置页","以下场景中,适合使用router.replaceUrl()的是( )",{"answer":42,"createTime":5,"id":43,"options":44,"question":49,"source":30,"type":31},[],243482777,[45,46,47,48],"栈容量增加1,目标页成为栈顶","栈容量不变,目标页替换栈顶","栈容量减少1,原栈顶页弹出","栈容量清零,仅保留目标页","使用router.pushUrl()跳转页面后,页面栈的变化是( )",{"answer":51,"createTime":5,"id":52,"options":53,"question":58,"source":30,"type":31},[],243482778,[54,55,56,57],"module.json5","main_pages.json","route_map.json","app.json5","鸿蒙应用中,新建Page页面后,DevEco Studio会自动将页面路由信息配置在哪个文件中?( )",{"answer":60,"createTime":5,"id":61,"options":62,"question":67,"source":30,"type":31},[],243482779,[63,64,65,66],"存储应用所有页面的路由信息","新建Page页面时IDE会自动更新该文件","配置的页面路径必须与文件实际存放路径一致","该文件可随意删除,不影响应用运行","以下关于main_pages.json文件的描述,错误的是( )",{"answer":69,"createTime":5,"id":70,"options":71,"question":76,"source":30,"type":31},[],243482780,[72,73,74,75],"router.pushUrl({ url: 'pages\u002FDetailPage', params: { name: '华为Mate70', price: 6999 }})","router.pushUrl({ url: 'pages\u002FDetailPage', data: { name: '华为Mate70', price: 6999 }})","router.pushUrl('pages\u002FDetailPage', { name: '华为Mate70', price: 6999 })","router.pushUrl({ url: 'pages\u002FDetailPage'}, { name: '华为Mate70', price: 6999 })","使用router.pushUrl()跳转并传递参数的正确代码是( )",{"answer":78,"createTime":5,"id":79,"options":80,"question":85,"source":30,"type":31},[],243482781,[81,82,83,84],"router.getParams()","router.getArguments()","router.getQuery()","router.getData()","目标页获取跳转参数的核心方法是( )",{"answer":87,"createTime":5,"id":6,"options":88,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":90,"createTime":5,"id":91,"options":92,"question":97,"source":30,"type":31},[],243482783,[93,94,95,96],"直接使用router.getParams()","通过getUIContext().getRouter().getParams()","通过getContext().getRouter().getParams()","通过app.getRouter().getParams()","华为官方推荐的获取Router实例以调用getParams()的方式是( )",{"answer":99,"createTime":5,"id":100,"options":101,"question":106,"source":30,"type":31},[],243482784,[102,103,104,105],"Index &rarr; Detail &rarr; About","About &rarr; Detail &rarr; Index","Index &rarr; About &rarr; Detail","Detail &rarr; Index &rarr; About","若使用router.pushUrl()进行跳转页面,流程为:Index &rarr; Detail &rarr; About,此时页面栈从栈底到栈顶的结构是( )"]