chenkefeng

Results issues of chenkefeng

**问题描述** 对于原生微信小程序来说,普通的网络请求(wx.request,返回的是一个RequestTask,可取消)也有取消请求相关api,但是Taro中只对upload,download这两种有取消api暴露。 当前Taro中逻辑: ```js if (key === 'uploadFile' || key === 'downloadFile') { p.progress = cb => { if (task) { task.onProgressUpdate(cb) } return p } p.abort = cb =>...

enhancement

**问题描述** tarocli 版本1.2.0-beta.7 在循环中 通过函数创建ref时 ref函数不执行 **复现步骤** ```js render () { return ( { [1,2,3,4,5,6,7,8,9,10].map((item, index) => { return ( AAA ) }) } ) } getSlideRef = (node) =>...

**问题描述** 在运行 npm run build 时 没有对wxml进行压缩 **期望行为** 对wxml能够进行压缩

enhancement

**问题描述** 支付宝小程序与微信小程序 在app.json中配置存在出入,希望能够做到兼容处理,参考文档: 微信小程序: [微信小程序](https://developers.weixin.qq.com/miniprogram/dev/framework/config.html#全局配置) 支付宝小程序: [支付宝小程序](https://docs.alipay.com/mini/framework/app) ```js // 支付宝中 { "pages": [ "pages/index/index", "pages/logs/index" ], "window": { "defaultTitle": "Demo", "pullRefresh": false, "allowsBounceVertical": "YES", "titleBarColor": "#f00" }, .... } //...

question

Exmaple ``` let jsonString = "{\"name\":\"Test\", \"id\":10}" struct User: Mappable { var id: String! var name: String! } /// ``` At this point, the type of ID is String, and...

大神,请教一下HandyJSON 如何集成realmSwift