小程序 自定义 tabBar Component “页面路径“ does not have a method “ 方法名“ to handle event “tap“

 自定义tabBar后,这么写就不报错

原文地址:https://www.cnblogs.com/yanghai/p/14768691.html