taro 的坑

bug: 页面渲染出来了false字符串

原因:Taro 版本过低 公司的老项目使用的 taro 1.2.xx

var show = false
{ show && <Component /> }

解决


1. 三元判断 
2. 升级Taro版本到 1.3.0+