Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

同步版本 #1

Merged
merged 25 commits into from
Feb 16, 2019
Merged

同步版本 #1

merged 25 commits into from
Feb 16, 2019

Conversation

fangkyi03
Copy link
Owner

No description provided.

js-newbee and others added 25 commits February 7, 2019 04:07
主要修改了两个地方:
1. RichText这个组件,nodes的type如果不是text的话,children这个属性在微信小程序的doc里是可选的,所以item.children就可能为undefined,所以加个默认值空数组。
2. 对于有些node类型,例如image,它的attrs不仅仅限于class和style,还有src、width、height等。由于情况比较多,所以这块建议直接把这些属性拿过来,统统赋给props
fix(taro-rn): pxTransform 计算错误
小程序的input默认继承祖先元素的text-align
而浏览器的input默认是text-align: start;
…件路径问题(#2168)
 (#2172)

1. 修复 taro-plugin-babel  中调用 babel.transform 未传递 config.filename 导致插件中无法访问 state.file.opts.filename问题
2. 修复 taro-cli/weapp.js 中调用 plugin-babel 时 file 参数始终传递 entryFilePath 而非 sourceFilePath ,导致插件内无法正确拿到文件路径问题
修改taro-cli编译开始时,需要清理的dist路径,要与工程里的config配置的输出路径保持一致,不能写死成dist
fix(taro-router-rn): 页面根节点 height: 100% 无效
@fangkyi03 fangkyi03 merged commit 02dd811 into fangkyi03:master Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet