Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
特性
View
增加catchMove
属性,提供直接阻止滚动穿透的能力getPhoneNumber
API,支付宝小程序获取会员手机号能力 #8177修复
小程序
window
对象能获取到小程序global
上挂载的属性,by @atzclText
组件导致子文本节点丢失,[Taro3] 深层嵌套到第15层需要重启组件时碰到 Text 导致重启失败子节点丢失 #6054H5
uploadFile
API 的 timeout、fileName 参数功能,by @zhaoguoweiLLHCpageScrollTo
函数的selector
参数支持,by @zhaoguoweiLLHCpageScrollTo
函数的tabbar
判断方式有误导致的滚动异常问题,by @zhaoguoweiLLHCRadio
组件disabled
属性不生效,H5中Radio的disabled属性不生效 #8017,by @ZeroTo0neCanvas
同步方法,by @IninitcanvasToTempFilePath
节点获取,by @IninitVideo
methods,by @helsonxiaoCanvas
&pull-down-refresh
相关的问题,Taro.canvasToTempFilePath canvasToTempFilePath.js?7438:46 Uncaught (in promise) {errMsg: "Cannot read property 'toDataURL' of null"} #7280 onPullDownRefresh,usePullDownRefresh 下拉刷新无回调 #7072typings
canvasToTempFilePath
中canvasId
不再是必传项,by @Swordword重构
小程序
componentWillPreload
、$preload
API,改为:Taro.preload()
View
、Text
、Image
组件当没有绑定任何事件时能使用简化模板,不去绑定冗余属性。onUnmount
的事件改为同步触发,避免降低微信体验评分