Closed mienv567 closed 5 years ago
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
大哥,你没说你的问题是啥啊。我都不知道你要表达什么意思
大哥,你没说你的问题是啥啊。我都不知道你要表达什么意思
已修改问题,就是taro转换的 模版标签可能有问题,小程序 h5下无问题
是转出来了 taro 代码,但是运行 taro build 命令出了问题了吗
是转出来了 taro 代码,但是运行 taro build 命令出了问题了吗
是的 npm run dev:rn 的时候排除css外,pages下的js文件部分没有被编译到.rn_temp里。只成功一小部分,我去掉例如 login.js里面的 render() { ........ return ( 这里面的内容为空后就会编译写入到 .rn_temp )
CC @Pines-Cheng
编译的时候控制台有报错吧?@mienv567
编译的时候控制台有报错吧?@mienv567
有报错信息已经贴出看 https://github.com/NervJS/taro/issues/1576#issue-392175158 里面最下面有我发的部分报错信息. 我去掉例如 login.js里面的 render() { ........ return ( 这里面的内容为空后就会编译写入到 .rn_temp )没有任何报错
应该是这里导致的:style="padding-right: 0;"
改成 style={{paddingRight: 0}} RN 端就 OK 了,不过还是不推荐这种写法。
应该是这里导致的:style="padding-right: 0;"
改成 style={{paddingRight: 0}} RN 端就 OK 了,不过还是不推荐这种写法。
谢谢我试试.
应该是这里导致的:style="padding-right: 0;"
改成 style={{paddingRight: 0}} RN 端就 OK 了,不过还是不推荐这种写法。
谢谢已经修复,希望以后可以把报错信息能够识别代码位置。
操作系统 win taro版本 1.2.0 正式版 node v10.14 npm 6.4.1 taro 代码
错误信息太多 截取一部分
是不是view block部分问题 测试去掉js render中的renturn标签即正常 render() { ........ return (