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

来源:1-10 代码编写-Tabbar配置

新东方挖掘机大战蓝翔机器人

2018-12-20 21:27

{

"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":"测试页"

}]

}


}



写回答 关注

1回答

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

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

入门微信小程序开发

带你入门微信小程序开发,了解微信小程序的基本知识。

172029 学习 · 378 问题

查看课程

相似问题