嵌套路由一个路径小注意

115 阅读1分钟

image.png 需要注意,嵌套路由中的子路由路径,前面不加 / 加了就变成 域名 localhoust:8080/posts