在上传代码和预览的时候,提示:缺少文件, error: iconPath=pages/images/tab_home_normal.png, file not found,但是在编译的时候不报错,且tabbar的icon正常显示。
代码:
"tabBar": {
"list": [
{
"pagePath": "/pages/home/home",
"iconPath":"/pages/images/tab_home_normal.png",
"selectedIconPath":"pages/images/tab_home_press.png",
"text": "首页"
},
{
"pagePath": "pages/company/company",
"text": "公司介绍",
"iconPath": "pages/images/tab_company_normal.png",
"selectedIconPath": "pages/images/tab_company_press.png"
},
{
"pagePath": "pages/goods/goods",
"text": "公司产品",
"iconPath": "pages/images/tab_goods_normal.png",
"selectedIconPath": "pages/images/tab_goods_press.png"
},
{
"pagePath": "pages/we/we",
"text": "联系我们",
"iconPath": "pages/images/tab_we_normal.png",
"selectedIconPath": "pages/images/tab_we_press.png"
}
]
}
+1
+1
你也遇到了这样的问题吗?
+1