本文共 185 字,大约阅读时间需要 1 分钟。
let res = wx.getSystemInfoSync(); if(res.platform == 'ios') //ios if(res.platform == 'android') //安卓 if(res.platform == 'devtools') //开发者工具
转载地址:http://dkzmf.baihongyu.com/