体验版页面添加了路由还是报错,什么invoking page()...
发布于 7 年前 作者 tao92 10244 次浏览 来自 问答

页面在开发工具里没问题。手机上体验版就显示

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”,

],

3 回复

“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里面的

是data里面的定义变量出错

“pages/login/login 要加一个这个吧

回到顶部