为什么会报错?

发布于 7 年前作者 yang8014370 次浏览最后编辑 7 年前来自 ask
{
  "pages":[
   "pages/index/index",
   "pages/logs/logs",
   "pages/index2/index2" ,
   "pages/image/image"
  ],
  "window":{
    "backgroundTextStyle":"dark",
    "navigationBarBackgroundColor": "#f00",
    "navigationBarTitleText": "测试",
    "navigationBarTextStyle":"white"
  },
  "tabBar": {
    "list": [{
      "pagePath": "pages/index/index",
      "text": "基础",
      "iconPath": "image/user.png",
      "selectedIconPath": "image/chat-3-line.png"
    },{
      "pagePath": "pages/index2/index2",
      "text": "云开发",
      "iconPath": "image/message.png",
      "selectedIconPath": "image/message_unread.png"
    }]
  }                       这里有报错!!!!!
  "style": "v2",
  "sitemapLocation": "sitemap.json"
}

1 回复
mtan
mtan1 楼5 年前
,"style": "v2",  style前面少个逗号