Taro 1.2.4 发布了,Taro 是一套遵循 React 语法规范的多端统一开发框架,支持用 React 的方式编写一次代码,生成能运行在微信小程序/百度智能小程序/支付宝小程序、H5 与 React Native 等端的应用。
更新内容如下:
Bug Fixes
input: 修复 IOS 光标跳转问题 (71f605f)
taro: 修正 Taro.getEnv 对头条小程序的判断 (8bc4293)
taro-h5: 补充 Nerv 引用 (7f30b6f)
taro-swan: 修正百度小程序 componentDidMount 调用 (cabad00)
transformer: 循环父级三元表达式的 alternative 没有三元表达式的防御,close #1698 (7f9ac60)
transformer: 循环的 callee 是函数也需要执行上层的条件判断,close #1725 (7fab2c4)
transformer-wx: 处理某些小程序组件属性与微信小程序不一致的情况,close #1792 (17b8689)
webpack-runner: add esnextModules regex support the modules of cnpm installed (#1796) (1bcb017)
Features
taro: 增加一个 polyfill 文件 (8588ddb)
taro: 补充新的音频 api (854c0be)
transformer: Taro API 的回调函数总是推荐使用箭头函数, close #1693 (cbec912)
下载地址: