冯伟

Results 16 issues of 冯伟

建议做下长度对比,比如是个外国人,如 `弗拉基米尔·弗拉基米罗维奇·普京(普京) 001234`,超过了 width 就截断了。 ``` const div = document.createElement('div'); div.style.color = '#fff'; div.style.fontSize = '14px'; div.innerHTML = `${text}`; document.body.appendChild(div); const width = div.getElementsByTagName('span')[0].offsetWidth; div.parentNode.removeChild(div) ```

``` canvas.toBlob(function (blob) { var url = URL.createObjectURL(blob) const watermark = document.createElement('div'); // ... }); ```

比如在nowa server的时候,加上lint和jsinspect? 参考链接: 1、[用 husky 和 lint-staged 构建超溜的代码检查工作流](https://juejin.im/post/592615580ce463006bf19aa0) 2、[create-react-app 已经集成](https://github.com/facebookincubator/create-react-app/pull/1759) 3、[jsinspect](https://github.com/danielstjules/jsinspect) 4、[prettier](http://jlongster.com/prettier-1.0)

能够给一个可定义的.sh,在nowa publish的时候来执行?自动帮你提交到git。

dateformfield selectformfield inputformfiled下必现

**问题描述** Taro 3.5.7 使用 Taro UI 3.1.0-beta.4 的 Calendar 组件,在 h5 运行时报错 createSelectorQuery is not a function **复现步骤** 1. taro init myApp 2. 选择 React -> Typescript -> Sass ->...

**需求描述** [详细地描述需求,让大家都能理解] **解决方案** [如果你有解决方案,在这里清晰地阐述] **其他信息** [如截图等其他信息可以贴在这里]

feature