4 condition 启动模式配置
condition: 启动模式配置,仅开发期间生效,用于模拟直达页面的场景,如:小程序转发后,用户点击所打开的页面。

"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的list的索引项,即第一项
"list": [{
"name": "首页", //tabber名称
"path": "pages/component/swiper/swiper", //启动页面路径,必选
"query": "interval=4000&autoplay=false" //启动页面参数,在页面的onLoad函数里面得到。
},
{
"name": "test",
"path": "pages/component/switch/switch"
}
]
}

浙公网安备 33010602011771号