MudOnTire

Results 11 comments of MudOnTire

@DropSnorz I found a workaround to this issue, you can access the last stdin component reference and call `setPrompt()` manully to set the next prompt. Code may be like this:...

@John-Andrew-TMD @qq919623547 @zhouLJ-ww 浏览器版本、ant design (pro)、umi的版本都是什么?

@peilinghui 没有,android 8.0之后系统支持角标了,要实现很简单

> > > 安卓版本的没有问题,但是iOS就一直出现invalidTokens, 除了leancloud网站提供的几种情况,还有别的解决方法吗? iphone是真机吗?devicetoken有没有保存到installation表里面?token authentication配置对不对?

@sjm-study 是用 `useParams()` 获取不到嘛?那用 `withRouter()` 然后从 `props.match.params` 里面可以嘛?

> @MudOnTire 我用了withRouter还是没有,获取到的params永远都是 ‘{}’ , useRouteMatch也是一样 能把你的 `RouteWatcher` 贴出来看一下嘛?

@sjm-study 看起来没问题,要不你参考一下我的 [demo](https://github.com/MudOnTire/page-tabs-umi-app),里面有通过route param读参数的详情页。 ![image](https://user-images.githubusercontent.com/11326927/137246404-d2e5320b-2ea8-4223-849a-5c50cb5e1e6f.png)

@sjm-study 看起来没问题, > 我突然发现, 其实组件的props里已经有了路由属性了 ![image](https://user-images.githubusercontent.com/50009276/137248077-d5f38900-9e44-4110-9377-71f1fac22e5f.png) 如果去使用 umi 的 useParams 却获取不到。 是的,我也发现了这个问题,目前还没招到原因。

> 我还有个问题,能支持多开详情页嘛? 我发现好像只能打开一个详情页 暂时还不支持,应该可以支持。

> 是否考虑支持 antd pro v5 V5里面好像可以用,你试试?