想了很多遍了,就是找不到原因,开发者文档也看了三遍了,找不到解决方式
代码
{
"pages":[
"pages/about/about",
"pages/bookling/bookling"
],
"tabBar": {
"list": [
{
"text": "在线预约",
"pagepath": "pages/about/about",
"iconpath": "image/image.png",
"selectediconpath": "image/image.png"
},
{
"text": "关于我们",
"pagepath": "pages/bookling/bookling",
"iconpath": "image/image.png",
"selectediconpath": "image/image.png"
}
]
}
}
明显是定义错了,pagepath 官方的是驼峰命名pagePath
谢谢,问题已经解决
怎么解决的
代码里是不是有涉及页面跳转的语句,navigateTo,switchTo之类的,检查一下,是不是有变量没定义