微信小程序跳转出现 navigateTo:fail page "pages/index/pages/input/input" is not found原因

原文地址:https://blog.csdn.net/hantut/article/details/84392389

路径问题或者是未定义路由

解决方法:

1、在app.json文件中pages中添加路由

2、加载绝对路径时url前加 /

猜你喜欢

转载自www.cnblogs.com/Dasate/p/12705134.html