iShirKhan
iShirKhan
In the latest version of PHPstorm 2019.1, the route in web.php that can locate and jump to a controller for a while suddenly becomes unusable again. Failure indicates that the...
有没有可能在文档中补充专门讲解坐标,坐标相关常用参数、函数,坐标转换工具的使用和相关原理等内容和对应的例子程序。 比如: 1. 什么是x,y? 2. 什么是 offsetX和offsetY 3. 什么是起始点,如何知道哪个形状的起始点在哪里? 4. position()函数 position(pos) 做了什么,需要注意什么? 5. relativePosition, absolutePosition是什么,分别如何获取,如何相互转换?什么时候使用哪个?什么时候不能使用哪个? 6. 为什么layer不支持width和height,原因和好处? 7. 为什么group和它的子孙坐标是基于group的,这样设计的目的?group子孙使用坐标需要注意哪些细节? 8. dragBoundFunc 的作用,以及它的坐标注意事项,需要的转换方法和原因? 9. dragBoundFunc 里面获取到的x,y和 dragEnd 事件中获取到的x,y 有啥区别,为什么? 我作为一个初学者,最近一段时间被这些问题折腾了很多,每次都是通过看源码以及相关demo自己去体会并总结的,如果文档中有专门的章节吧这些概念说清楚了,我相信对更多像我这样初学者有非常好的帮助,大家也能更愉快的做出更多更好的应用。...
https://github.com/shd101wyy/mume/blob/19cb4e68a199c14cee19a08f17f85749a98eb06b/src/markdown-engine.ts#L269 不知道是我没找到入口还是确实是存在这个问题,我在使用这个库的时候需要对markdown-it 进行扩展,但是我没找到支持自定义markdown-it 插件的功能。 建议: - Engine的初始化参数里暴露一个markdown-it 配置项使得可以做到自定义(像vue-press) - 或者吧现在的md对象暴露出来,去掉私有 - 再或者提供一个extendMarkdownIt的方法,使得访问内部md对象或者直接吧参数传递到md.use上
if the state is object ,logger pre state will be change ,so pre and now is the same ref. we need to deep copy befor excute the reducer. my code:...
这个有解决方案了么? _Originally posted by @SilvaQ in https://github.com/umijs/umi-request/issues/121#issuecomment-1049666611_