WAService.js:13 switchTab before pages are registered.
"pages": [
"pages/index/index",
"pages/goodType/goodtype",
"pages/find/find",
"pages/shopCart/cartList",
"pages/self/selfMsg",
"pages/login/login",
"pages/goodList/goodlist",
"pages/good/good",
"pages/self/address/address",
"pages/self/address/addressEdit/addressEdit",
"pages/order/order",
"pages/myorder/myorder",
"pages/findone/findone",
"pages/order/orderpay/orderpay",
"pages/order/orderdetail/orderdetail"
],
"tabBar": {
"backgroundColor": "#fff",
"borderStyle": "black",
"color": "#666666",
"selectedColor": "#666666",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "images/home.png",
"selectedIconPath": "images/home_fill.png"
},
{
"pagePath": "pages/goodType/goodtype",
"text": "品牌",
"iconPath": "images/type.png",
"selectedIconPath": "images/type_fill.png"
},
{
"pagePath": "pages/find/find",
"text": "发现",
"iconPath": "images/safari.png",
"selectedIconPath": "images/safari_fill.png"
},
{
"pagePath": "pages/shopCart/cartList",
"text": "购物车",
"iconPath": "images/cart.png",
"selectedIconPath": "images/cart_fill.png"
},
{
"pagePath": "pages/self/selfMsg",
"text": "我的",
"iconPath": "images/my.png",
"selectedIconPath": "images/my_fill.png"
}
]
},
编译的时候经常出现这个提示 然后所有的页面都加载不出来的
本文网址:http://www.91bianli.com/kaifazhinan/70785.html