antd-pro-page-tabs icon indicating copy to clipboard operation
antd-pro-page-tabs copied to clipboard

有考虑过支持动态路由吗?

Open zbl400 opened this issue 4 years ago • 0 comments

现在的代码应用在 动态路由(例如:/users/:id) 上,有2个问题

  1. umi 的 useParams 获取不到 params 了。这个暂时可以用 useLocation 获取整个path后自行解析 param
  2. 如何支持 /users/1 和 /users/2 展现 2个标签页
  3. 如何能在 /users/1 页面代码中设置 标签页title ?

zbl400 avatar Dec 23 '20 08:12 zbl400