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

小程序转taro的过程中的一些问题描述 #1676

Closed
aeron11 opened this issue Dec 25, 2018 · 3 comments
Closed

小程序转taro的过程中的一些问题描述 #1676

aeron11 opened this issue Dec 25, 2018 · 3 comments

Comments

@aeron11
Copy link

aeron11 commented Dec 25, 2018

小程序转taro的过程中的一些问题汇总如下:

1、有的base64的图片转换是会把原有串转错成另一个,导致不能访问;
2、转换后的点击路由出错:http://127.0.0.1:10086/#/pages/index/pages/path/yourpage,正确的地址应该是:http://127.0.0.1:10086/#/pages/path/yourpage
3、样式会混乱,估计是多页面样式重名所致
4、原生的一些方法不支持
5、在创建节点时报错,需要修改如下文件的一行代码加个boolean型判断:nervjs/dist/index.js ,932行:if (nextVnode && nextVnode !== null),否则对false的变量再附加属性而报错。
6、对于小程序中的自定义组件,使用triggerEvent时,转换成taro后找不到该方法;

希望能给予相关支持,谢谢

@taro-bot
Copy link

taro-bot bot commented Dec 25, 2018

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@yuche
Copy link
Contributor

yuche commented Dec 25, 2018

第五种情况你能做一个具体的复现代码吗

@yuche
Copy link
Contributor

yuche commented Jul 16, 2019

升级 nervjs 可以解决

@yuche yuche closed this as completed Jul 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
Development

No branches or pull requests

2 participants