Taro 周报 2011.21 - 11.28 : 威马智行案例,文档小更新
-
收获的案例
威马智行 来自 wangxiaocuo 提交
欢迎大家提交案例(名称 + 小程序码/二维码),和数万开发小伙伴分享您的成果,它将出现在 Taro 文档「案例」页和 「Taro 社区」公众号的周报中。
案例提交地址:https://github.com/NervJS/taro-user-cases
Taro 文档样式改动
文档示例代码注释的页面路径移动到了 title 里
原文档中页面的路径写在注释里,如下
调整后文档写在 title 里,如下
如果您发现文档改动有遗漏的地方欢迎点击文档底部的“Edit this page” 给我们提交 PR 哦。
ISSUES
上周有 53 个新 issue。
其中 18 个 issue 已经被关闭,35 个 issue 仍然保持打开状态。OPEN ISSUES
#8145 taro3.0.17 页面中有两个swiper时, 进入其他页面再返回, swiper报错, by darkfiredarkhalo
#8144 Input 组件onInput时,return 一个字符串,input框的值未发生变化, by Arima-P
#8143 Taro 3 H5下 taro-image-core 样式设置为 width: 320px; height: 240px; 导致为显示设置尺寸的图片样式错误, by chunge66
#8141 useDidShow在非tabBar页面来回切换不触发, by lang-strive
#8139 textarea和input共用,焦点和键盘会出现问题, by dogscar
#8138 [希望在TextArea加上自定义属性 如 enableNative="{{false}}"](https://github.com/NervJS/taro/issues/8138 "希望在TextArea加上自定义属性 如 enableNative="{{false}}""), by shenggen1987
#8137 Promise finally 在 iOS (14.2 ,13.4.1) 中报错, by hlsky1988
#8136 taro项目中的.less文件中控件尺寸(px)和微信小程序中对应的控件尺寸(rpx)没有对应起来, by CoDancer
#8135 feat(mini-runner/mini-split-chunks): 添加小程序提取公共模块插件,主包没有引用的,且分包内引用的mod…, by huangcj99
#8131 【useDidShow 】在小程序切换前后台时不触发。, by dashixiong-11
#8129 onPullDownRefresh在react-redux里失效,不引用connect的话就能正常使用, by GZWZC
#8127 Taro3.0 子包的依赖不要合并编译至主包的 common.js, by pangnate
#8126 Video标签中使用CoverView无效, by zhaoguoweiLLHC
#8124 fix(taro-h5): fix (#7280) that canvas is null when using related api such as canvasToTempFilePath in h5 environment, by ZeroTo0ne
#8123 chore(deps): bump sass-loader from 6.0.7 to 10.1.0, by dependabot-preview[bot]
#8122 fix(taro-runtime): fix (#7296) problem that the path is empty through the useRouter method in the h5 environment, by ZeroTo0ne
#8120 ScrollView增加dragstart/dragging/dragend事件, by dongnaebi
#8119 微信小程序热启动情况下进入页面白屏, by foyel
#8118 Taro 3 React Native 相关文档补充, by zhiqingchen
#8117 无法通过变量修改 config, by Tyrone2333
#8116 百度小程序 Editor 组件执行出错 , by Tyrone2333
#8115 chore(taro-mini-runner): upgrade less-loader version to support additionalData config (#7921), by ZeroTo0ne
#8114 sockjs-node无法根据当前域名来改变连接路径, by maskletter
#8113 fix(taro-components): fix radio component disabled property doesn't work in h5 environment (#8017), by ZeroTo0ne
#8112 fix(taro-h5): support fileName parameter when using Taro.uploadFile api (#7377), by ZeroTo0ne
#8109 微信端编译时组件中的style属性会丢失 -webkit-text-fill-color , -webkit-text-stroke 等样式, by heyi
#8108 docs(size): 当设计稿是375时,DEVICE_RATIO应该是 1 / 2, by liyan1105
#8105 feat(taro-runtime): consistent window object, by atzcl
#8104 vue3 具名插槽失效, by nyaooo
#8103 小程序关闭后,再扫码进入显示空白, by lmm1990
#8099 希望支持react-native 转 taro 或者 tart转rn, by YoungMarshal-LI
#8098 taro3.x 引入 lodash 错误, by JiaLe1
#8097 引入 环信sdk 报错 Cannot read property 'loglevel' of undefined, by GitHub-Haisheng
#8096 Taro H5环境视频无法播放,且点击无效, by weijunfu
#8094 fix(h5): 修复h5下的视频组件在界面上的功能按钮失效等问题, by zhaoguoweiLLHC
CLOSED ISSUES
#8146 fix(taro-api): add offNetworkStatusChange api, by ZeroTo0ne
#8142 taro convert 将原生小程序转化为 taro 的代码后续有没有计划支持微信小程序的 relations 呢?, by zhengpq
#8140 Taro.offNetworkStatusChange 方法无效,调用 wx.offNetworkStatusChange 正常, by jianglin-wu
#8134 ["@tarojs/taro": "3.0.17", PickerView Demo(react) 无法显示https://nervjs.github.io/taro/docs/components/forms/picker-view/](https://github.com/NervJS/taro/issues/8134 ""@tarojs/taro": "3.0.17", PickerView Demo(react) 无法显示https://nervjs.github.io/taro/docs/components/forms/picker-view/"), by liuyunzyj
#8133 docs(update): 文档示例代码里文件路径的注释提取到代码块的 title 里, by honlyHuang
#8132 fix: 修复因 app 为 null 导致 onLaunch 不能正确执行的问题, by digiaries
#8130 useEffect传递[] 时,在Taro.navigateTo跳转界面时,依然执行一次, by SnowFlowers
#8128 不支持支付宝小程序的部分属性, 例如input的controlled和text-area的show-count, 请增加, by 997282173
#8125 taro3.0 使用virtuallist 在ios上抖动严重, by summerNa
#8121 docs(fix): 文档 blog 里错误链接, by honlyHuang
#8111 当使用withWeapp装饰器时,其内部的onLaunch不会触发,onShow参数为空对象, by liyan1105
#8107 Update size.md, by liyan1105
#8106 UnhandledPromiseRejectionWarning: Error: Cannot find module './dist/index.js', by wang89jun
#8102 项目周报 (2020 年 11 月 14 日 - 2020 年 11 月 21 日), by taro-bot2[bot]
#8101 页面定义了onShareAppMessage的title和imageUrl,但分享出去后的title和image都是默认的, by xuuy
#8100 执行taro build --ui 报错“Error: 不存在编译平台 ui”, by cqwanli
#8095 docs(fix): 暗黑模式下设置logo、代码块背景色, by honlyHuang
PULL REQUESTS
上周有 19 个 pull request 被创建、更新或 merge。
OPEN PULL REQUEST
上周打开了 5 个 pull request:
️ #8122 fix(taro-runtime): fix (#7296) problem that the path is empty through the useRouter method in the h5 environment, by ZeroTo0ne
️ #8118 Taro 3 React Native 相关文档补充, by zhiqingchen
️ #8115 chore(taro-mini-runner): upgrade less-loader version to support additionalData config (#7921), by ZeroTo0ne
️ #8113 fix(taro-components): fix radio component disabled property doesn't work in h5 environment (#8017), by ZeroTo0ne
️ #8112 fix(taro-h5): support fileName parameter when using Taro.uploadFile api (#7377), by ZeroTo0ne
UPDATED PULL REQUEST
上周有 8 个 pull request 更新:
️ #8124 fix(taro-h5): fix (#7280) that canvas is null when using related api such as canvasToTempFilePath in h5 environment, by ZeroTo0ne
️ #8123 chore(deps): bump sass-loader from 6.0.7 to 10.1.0, by dependabot-preview[bot]
️ #8105 feat(taro-runtime): consistent window object, by atzcl
️ #8094 fix(h5): 修复h5下的视频组件在界面上的功能按钮失效等问题。, by zhaoguoweiLLHC
️ #8050 fix(h5): 修复h5下的pageScrollTo函数功能, by zhaoguoweiLLHC
️ #7891 fix(h5): 修复 video methods, by helsonxiao
️ #7792 修复初始路由参数未被传递的问题。, by gaoxiaosong
️ #7745 feat: 让微信小程序可以自定义project.config.json文件的源文件名, by younthu
MERGED PULL REQUEST
上周 merge 了 6 个 pull request:
#8146 fix(taro-api): add offNetworkStatusChange api, by ZeroTo0ne
#8133 docs(update): 文档示例代码里文件路径的注释提取到代码块的 title 里, by honlyHuang
#8132 fix: 修复因 app 为 null 导致 onLaunch 不能正确执行的问题, by digiaries
#8121 docs(fix): 文档 blog 里错误链接, by honlyHuang
#8095 docs(fix): 暗黑模式下设置logo、代码块背景色, by honlyHuang
#8084 fix(virtual-list): H5 下报错 unknown custom element fix #8083, by honlyHuang
COMMITS
上周共有 4 个 提交:
style(virtual-list): vue/index.js L445 by honlyHuang
fix(virtual-list): H5 下报错 unknown custom element by honlyHuang
feat(taro-api): add offNetworkStatusChange api (#8140) by ZeroTo0ne
fix: 修复因 app 为 null 导致 onLaunch 不能争取执行的问题 (#8132) by digiaries
CONTRIBUTORS
上周共有 3 名独立贡献者:
感谢你们对开源事业做出的贡献。
STARGAZERS
上周获得了 74 个 star。它们分别来自于:
chosenzhou |
snow842 |
lvyitian |
AtarisMio |
sinomoe |
gcm0621 |
Epic-Deno |
cui-art |
4640396 |
MFrank2016 |
shengliangli |
873764182 |
acdsxb |
wave2006 |
gebilaosiji |
JiaLe1 |
bdingtech |
wuliang1992 |
lanzhi-lee |
ggggamer |
oulaly |
guohongdong |
Iamlqyfly |
xiaoxiaojx |
vincent1996 |
Rennbon |
isliangj |
gscaiyucheng |
18871966597 |
leer561 |
xulongwei-fe |
sincosab |
Kurtzyf |
hix7 |
Yemsheng |
GO-DIE |
Jonny-Zou |
bghn558 |
hutravel |
Corual |
lianer |
moziming888 |
zhixinpeng |
Janyd |
rishishian |
lolysc |
qier222 |
fengxiaobai2019 |
KevinKao123 |
mk5878125 |
MSamor |
supervons |
storm2lele |
nicholasxuu |
zeus6379 |
ChenQiulin |
llywuchen |
SitongHui |
redbattle |
Perfect404 |
haithaison-cpu |
Tikitoo |
Fwagan |
DonaLd-D |
joegb |
devecc |
JeasonSun |
chuyinweilai |
fangood |
ningyu1 |
MonsterDOGz |
satlxq |
yushaw |
GitHub-WF
You all are the stars!