在上传代码和预览的时候,提示:缺少文件, 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"
}
]
}
本文来自微信小程序开发者论坛 微信小程序工厂 http://www.xcxgc.com 转载请保留。
微信小程序开发者回答:
一***:
+1
秦***:
你也遇到了这样的问题吗?
51微信小程序开发工具如何测试“普通链接二维码打开微信小程序”功能? 微信小程序开发 ...
彦***:
+1
痴***:
+1
本文网址:http://www.91bianli.com/weixinxiaochengxu/52299.html