明明app.json上也已经写上了,todetail方法也已经写好,当把其他的页面,例如pages/logs/logs放在第一个的话,也会提示logs页面的这种错误,导致不能跳转
错误提示:Do not have todetail handler in current page: pages/index/index. Please make sure that todetail handler has been defined in pages/index/index, or pages/index/index has been added into app.json
相似问题