页面在开发工具里没问题。手机上体验版就显示
Page[pages/login/login] not found. May be caused by 1. Forgot to add page route in app.json. 2. Invoking Page() in async task.
。
我的app.json里
“pages”: [
“pages/home/home”,
“pages/search/search”,
“pages/detail/detail”,
“pages/main_bussiness/main_bussiness”,
“pages/cart/cart”, //这里有cart
“pages/category/category”,
“pages/personal/personal”,
],
“pages”: [
“pages/home/home”,
“pages/category/category”,
“pages/cart/cart”,
“pages/personal/personal”,
“pages/search/search”,
“pages/main_bussiness/main_bussiness”,
“pages/detail/detail”,
“pages/orders_management/orders_management”,
“pages/address_list/address_list”,
“pages/addnewaddress/addnewaddress”,
“pages/order_confirm/order_confirm”,
“pages/userprofile/userprofile”,
“pages/test/test”,
“pages/coupon/coupon”,
“pages/paysuccessful/paysuccessful”,
“pages/after_sale/after_sale”,
“pages/order_detail/order_detail”,
“pages/my_balance/my_balance”,
“pages/charge_balance/charge_balance”,
“pages/advices/advices”,
“pages/rechargeMember/rechargeMember”,
“pages/changePhone/changePhone”,
“pages/logistics/logistics”,
“pages/logs/logs”,
“pages/index/index”
],
我登录是并到home里面的