whincwu
whincwu
Nice work !
short-term solution: request with body to avoid body parse error according this commit d8528c2 ``` ### Test curl https://cat-fact.herokuapp.com/facts/random --data "anything" ```
@tobeahighprogrammer 是的,第三种与系统版本有关,这种方式是根据系统获取默认字体的原理实现的。
同样很需要这个功能,期待实现
可以试试这个 https://github.com/whinc/api-sharp
> 1. `--jsxFactory` 这个选项没有被废弃,https://www.typescriptlang.org/docs/handbook/compiler-options.html 。 > 2. 建议直接在本地跑 tsc,Playgroud 上没有部分编译选项。 > > 我这边试了下,是正常的。 本地 tsc 确实没有该选项,不过你发的这个文档链接确实有,可能是不推荐使用了吧 ```bash $ npx tsc --version Version 3.8.3 $ npx tsc --help | grep 'jsx'...
示例代码在 playground 中无法通过类型检查
> [basarat/typescript-book#318](https://github.com/basarat/typescript-book/pull/318) > > 原书作者应该是举的一个反例,即下文中的「但这并不意味着你可以使用 TypeScript 类来实现它们。」 哦哦,这里迷糊了好半天...😂
> 你好。我想请问一下问题7是怎么盖上去的,通过z-index吗 是的。
> 楼主楼主,可以看下您的源码吗?最近业务遇到长按保存,html2canvas的细节我想看看你怎么避坑 完整源码属于公司不能公开,我摘取部分代码给你参考。 ```js // 提取快照 takeSnapshot () { const el = document.querySelector('#result') html2canvas(el).then(canvas => { const img = new Image() img.style.display = "block" img.src = canvas.toDataURL('image/jpeg') document.querySelector('#preview').appendChild(img) }) }...