问答详情
源自:1-10 代码编写-Tabbar配置

出现问题“VM148:2 tabBar[0].pagePath 字段需为 string”,这是什么问题啊?

{

"pages":[

"pages/index/index",

"pages/logs/logs",

"pages/test/test"

],

"window":{

"backgroundTextStyle":"light",

"navigationBarBackgroundColor": "#000",

"navigationBarTitleText": "微信",

"navigationBarTextStyle":"red"

},

"tabBar":{

"list":[{

"pages": "pages/index/index",

"test":"首页"

},{

"pages": "pages/test/test",

"test":"测试页"

}]

}


}



提问者:新东方挖掘机大战蓝翔机器人 2018-12-20 21:27

个回答

  • 慕粉1935212028
    2019-06-18 22:57:02

    需要设置默认背景图片,选中背景图片