try {
const res = wx.getSystemInfoSync()
//判断是否为iphonex
console.log(res.model.includes("iPhone X"))
} catch (e) {
// Do something when catch error
}
try {
const res = wx.getSystemInfoSync()
//判断是否为iphonex
console.log(res.model.includes("iPhone X"))
} catch (e) {
// Do something when catch error
}