wuen

Results 13 comments of wuen

mq在博客中用来干嘛的

> > Hi, 我用 PR 里的修改在本地跑了下,观察到最后的产物 [`markdownAst`](https://github.com/arco-design/arco-cli/blob/main/packages/arco-markdown-loader/src/index.ts#L212) 转换后的代码还是带「分号」的。 ![image](https://user-images.githubusercontent.com/44751363/185585379-f409b8be-1aee-4f2c-a22d-1f8e626d92c8.png) 分号指?这个分号吗 观察生成的代码 ![image](https://user-images.githubusercontent.com/44751363/185585275-ce1520c0-8c16-4d94-bc2d-528a9a0e320e.png)

> ![image](https://user-images.githubusercontent.com/44751363/186851194-bddca7d6-e7ad-4c1f-bb51-9381eb13de3d.png) 背景是这样的 ,我参考arco-cli代码 在 ## API前插入ast,把`replaceWith `替换成`insertBefore `发现的这个问题,本仓库使用`replaceWith`是不会出现分号问题,觉得pr方案严谨些(笑(逃

目前是先隐藏了,markdown是使用的rendertostring所以js事件失效了,待研究一下

> 目前是先隐藏了,markdown是使用的rendertostring所以js事件失效了,待研究一下 参考其他博客时找出所有的复制按钮,settimeout渲染

css断点需要重构一下

参考[https://juejin.cn/post/6979821352576352269](https://juejin.cn/post/6979821352576352269)

谢谢提醒。确实发现了这个问题,应该是state更新的问题,修改好了。

list的更新需要去修改UI视图,仔细想了想还是用react-query重写了一下 > > 谢谢提醒。确实发现了这个问题,应该是状态更新的问题,修改好了。 > > 哇这么快回复!是useState的问题 让我之前难以理解的是 你的page采用了 useRef 但是 list却没有采用