摘要: 客户端路由传参,主要通过两种方式:(1)路径参数(route),如/student-detial/1,其中/student为路由,1为传递的参数;(2)查询参数(query),如/student-detail?id=1&name=zs&age=18&sex=男。路径参数适合传递简单的值参数,查询参数 阅读全文
posted @ 2022-12-11 00:25 functionMC 阅读(719) 评论(0) 推荐(0)