message:Error: app.json: ["tabBar"]["list"][0]["iconPath"] 不应该以 ' ' 开头
appid: wx53b1dcef61be0761
openid: o6zAJs1Lk-8KWwmKi8lsCAsm7fiw
ideVersion: 1.05.2104192
osType: win32-x64
time: 2021-04-27 10:48:09
附源代码
{
"pages":[
"pages/index/index",
"pages/student/student",
"pages/user/user",
"pages/teacher/teacher",
"pages/administrator/administrator",
"pages/psychologist/psychologist"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "架起心桥",
"navigationBarTextStyle":"black"
},
"tabBar": {
"color":"",
"selectedColor":"",
"backgroundColor": "",
"position": "bottom",
"borderStyle": "black",
"list":[
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": " icons/home.png",
"selectedIconPath": "icons/home-o.png"
},
{
"pagePath": "pages/user/user",
"text": "我的",
"iconPath": " icons/me.png",
"selectedIconPath": "icons/me-o.png"
}
]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
}
每个iconPath的值都多了一个空格
f
s
太细节了!
ta