第四篇:uniapp的condition启动模式配置

参考官网文档:

在pages.json文件中:
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "swiper", //模式名称
"path": "pages/detail/detail", //启动页面,必选
"query": "80" //启动参数,在页面的onLoad函数里面得到。
},

]
}
在微信小程序开发工具打开位置:

 
 

第四篇:uniapp的condition启动模式配置最先出现在Python成神之路

版权声明:
作者:zhangchen
链接:https://www.techfm.club/p/19819.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>