yaxiaoliu
yaxiaoliu
@lnn1123 方便查问题啊 而且不一定每个zk上面都启多套dubbo 也存在一个zk上多台机器的dubbo分支不一样 我们公司确实存在这一的问题
@lnn1123 多人协作开发,测试环境不能随便开关,这个功能更多的其实是在测试环境使用 线上dubbo肯定是统一的
@lnn1123 我自己加不上不可以,但是作者后面更新了版本,我不就不好同步了。。。 这个功能我觉得很有必要啊,希望作者能支持吧
This basic function is not supported yet? That's unbelievable.
Do you have any plans to support the running of service workers?
用 `mentionsRef.current.textarea?.dispatchEvent(ev);` 可以实现,但是 `textarea` 被标记为 `@deprecated It may not work as expected` 不知道有没有其他更好的方法?
嗯,我也是看到 open 不能用,然后找不到合适方法感觉不太科学。。。
> Mentions 里的列表是实时计算的,所以光设置 `open` 没有列表,也就不会有东西显示出来。 那这里就只能先用 `mentionsRef.current.textarea?.dispatchEvent(ev)` 凑合实现了。 还有个问题,好像没有办法控制当过滤列表为空时直接隐藏列表容器,`notFoundContent=null` 只能控制容器里的默认 `empty` 替换为空
> 还有个问题,好像没有办法控制当过滤列表为空时直接隐藏列表容器,`notFoundContent=null` 只能控制容器里的默认 `empty` 替换为空 翻了下 `Mentions` 底层依赖的 `rc-mentions` 源码,对于弹窗内容的可见性控制是 [visiable](https://github.com/react-component/mentions/blob/master/src/Mentions.tsx#L465) 和内部状态 [mergedMeasuring](https://github.com/react-component/mentions/blob/master/src/Mentions.tsx#L446) 共同决定的,没有对外暴露,我是用如下比较黑的手动去绕开处理的。 ```ts useEffect(() => { const mentionsContainer = getContainer()?.querySelector('.ant-mentions-dropdown') const mentionsDropdownEl = mentionsContainer?.querySelector('ul'); if (!mentionsContainer || !mentionsDropdownEl)...