Arvin Xu

Results 2025 comments of Arvin Xu

@karaggeorge I open the pr #15 ,please check it~

有没有可能把非组件(比如 umi 、html2sketch)开发的 API 文档也自动生成出来呢? 因为我的习惯是写代码的时候顺带把说明写上去(怕忘),就像这样的[示例](https://github.com/ant-design/html2sketch/blob/master/src/models/Layer/Svg.ts),或者下面这种接口: ```ts /** * 抽象矩形 */ export interface AbstractRectType { /** * X 坐标 * 默认方向是从左到右 */ x: number; /** * 笛卡尔坐标系的 Y 坐标 *...

> 预览链接里面点击按钮控制台会报错:https://umijs-dumi-preview-pr-300.surge.sh/examples 我看下什么问题

> 预览链接里面点击按钮控制台会报错:https://umijs-dumi-preview-pr-300.surge.sh/examples 我看了下好像是因为渲染成了 mobile 模式导致的?本地 check 出来之后 dev web 模式是正常的?

Yes, I meet this problem too, the Windows cost almost 5mins every cache. It really a time waste !!!

@nadavkaner There is a way to hack the function ```js // get the close button const closeButton = browserWindow._panel.standardWindowButton(NSWindowCloseButton); // replace the implement closeButton.setCOSJSTargetFunction(() => { xxx.hide(); }); ```

👌 最近这两周很忙,暂时没有时间修复。等 20 号之后我会全部处理掉的

这个问题是 html2sketch 生成的元素顺序不对导致的,before 生成的图层应该在上面,而不是在下面。 ![image](https://user-images.githubusercontent.com/28616219/118141814-5d393600-b43c-11eb-86ec-2b53b5038bbf.png)