1.微信开发者工具预览项目时报错Uncaught SyntaxError: Unexpected token export
问题描述:在工具 HBuilder 中进行开发小程序,在发行后,在微信开发者工具中预览时遇到该问题
错误:Uncaught SyntaxError: Unexpected token export
解决方法
注意:勾选后,关掉编辑器、微信开发者工具,重新启动。
2.微信小程序错误:routeDone with a webviewId 16 that is not the current page…
解决方法,基础库太高了,调低版本,目前2.25.4是正常的