开放式跨端跨框架解决方案,支持使用 React/Vue/Nerv 等框架来开发微信/京东/百度/支付宝/字节跳动/ QQ 小程序/H5/React Native 等应用。 https://taro.zone/
my.alert
成功后的回调函数 #14267新版本的配置使用异步获取,metro.config.js
需要手动更新
const { mergeConfig } = require('metro-config')
const { getMetroConfig } = require('@tarojs/rn-supporter')
module.exports = (async function (){
return mergeConfig({
// custom your metro config here
// https://facebook.github.io/metro/docs/configuration
resolver: {}
}, await getMetroConfig())
})()
brick
模式height / width
参数支持填入非数字宽高 #7738onReachTop / onReachBottom
事件scrollTo / scrollToItem
方法支持禁用 enhance 模式 #14162output.clean
选项,#11032,by @bigmeowimageUrlLoaderOption
的 emit
& emitFile
属性,by @myl0204getTabBar
APIapp
设置的 Vue.config.ignoredElements
不生效的问题,by @xujiujiutarget
currentTarget
属性指向不正确的问题,by @CANntyieldgetAccountInfoSync
API,#13957,by @wenfangduTaro.showLoading
显示 undefined
的问题,by @jeffreyzhang23Taro.chooseMedia
,by @kong-devInnerAudioContext
和 BackgroundAudioManager
出现错误时未触发 onError
的问题,#13945,by @tangbzaicompiler
后项目启动失败的问题,#13996,by @TheKonkataro init
在设置了自定义模板源时未正确解析 zip
包的问题,#14038react-navigation
导致体积过大的问题,#14079,by @yechunxiScrollView
默认设置 nestedScrollEnabled: true
,#14093Taro.request
的参数类型,#14173 #14174,by @TheKonkapreviewImage
和 share-element
的类型,#14053,by @TheKonkaButton
组件 open-type
属性的 getRealtimePhoneNumber
和 agreePrivacyAuthorization
相关类型,#14180,by @TheKonkatradePay
API 的类型,#14072,by @catmiao8Skyline
、短信、缓存管理、屏幕、deviceVoIP
等 API 的类型,by @smileyingButton
组件的属性,by @SeaHaiWorldchooseAddress
API 的返回类型saveVideoToPhotosAlbum
、saveImageToPhotosAlbum
、addPhoneRepeatCalendar、addPhoneCalendar
、chooseMedia
、getVideoInfo
、canIUse
Invalid option from onResolve() callback in plugin "scanImports": "importer"
,#13767,by @yoyo837cache
功能后报 warning 的问题,#13798,by @saintwinklealias
不生效的问题,#13906sub-common
模块时没有输出 sourcemap
的问题,#13873,by @alexleestemplate
的问题,#13749,by @voidman2017Input
Textarea
的 cursor
属性初始值不正确的问题,#13809Taro.showModal
当浏览器退回到上一页面时不消失的问题和遮罩层滚动穿透的问题,by @sjhleo,#13833MPA
模式下 onReady
钩子不执行问题,by @tutuxxxclassnames
赋值为空时错误判断导致的问题,#13781Picker
组件事件捕获问题,优化 columnChange
事件定义问题,并提示不支持的 mode
,#13696Checkbox
值获取类型问题,#13694CustomWrapper
没有生成 DOM 节点的问题Input
、Textarea
组件的 focus
方法失败的问题,#13935@tarojs/plugin-html tried to access @babel/generator, but it isn't declared in its dependencies;
,by @xtyhttpOnly
的 cookie
的问题,#13941,by @bigmeowButton
组件获取电话号码的示例,#11445functionalPages
类型,by @PengBoUESTCPicker
组件新增 textProps
属性,#12489,by @halodonguseLaunch
,useDidShow
,usePageNotFound
生命周期 hooksSymbol
类型作为事件名,by @TheKonkaInput
、Textarea
组件在受控情况下,value 值无法正常显示的问题,#13120Taro.getAppInfo
APIInnerAudioContext
暂停后再播放没有继续上次进度播放的问题,#13840,by @liuchuzhangTaro.request
传入 array
类型数据序列化问题,by @yclnyclmulti router
后页面不显示的问题,#13134,by @biorzText
组件补充 userSelect
、space
、numberOfLines
参数支持,#13747RichText
组件补充 userSelect
、selectable
、space
参数支持enablePullDownRefresh
后,onPageScroll
和 onPullDownRefresh
方法失效的问题,#13782Taro.updateFile
的参数不传 formData
时报错的问题,#13513Textarea
组件的类型定义,by @eiinuLivePlayer
增加投屏接口,by @x1028Taro.interceptorify
APITaro.getAppInfo
APIgetRenderer
方法获取页面渲染引擎类型,#13587injectNewStyleProperties
运行时钩子,用于注入需要额外支持的 CSS 属性virtual-list
导出问题,#13360 #13442 #13702,by @TheKonkalogInterceptor
在生产环境没有 Log 输出的问题,#11576,by @ickskyhistory.state
的返回不符合 web 规范的问题,#13723aspectRatio
样式属性Swiper
组件衔接模式的 initial
值,#13589Textarea
组件的 confirm
事件,#12911cleanInterceptors
方法,#11339Swiper
组件轮播显示问题,#13589px
单位,小程序支持 rem
和 px
单位,#7637 #10212npm create
导致项目初始化后自动安装依赖报错的问题View
组件 disableScroll
属性的类型定义,by @eiinugetRandomValues
方法的类型问题,#13673designWidth
类型getElementsByClassName
方法的性能