Compare commits
No commits in common. "master" and "1.1.7" have entirely different histories.
|
|
@ -16,19 +16,6 @@ Page({
|
|||
code: ''
|
||||
},
|
||||
onShow() {
|
||||
const deviceInfo = wx.getDeviceInfo()
|
||||
if (deviceInfo && (deviceInfo.platform === 'windows' || deviceInfo.platform === 'mac')) {
|
||||
wx.showModal({
|
||||
title: '提示',
|
||||
content: '当前仅支持移动端使用,PC端无法使用。',
|
||||
showCancel: false,
|
||||
confirmText: '我知道了',
|
||||
success: function () {
|
||||
wx.exitMiniProgram && wx.exitMiniProgram();
|
||||
}
|
||||
});
|
||||
return
|
||||
}
|
||||
wx.hideLoading()
|
||||
const that = this;
|
||||
onStop()
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@
|
|||
"compileHotReLoad": true,
|
||||
"urlCheck": true
|
||||
},
|
||||
"libVersion": "3.8.8"
|
||||
"libVersion": "3.6.5"
|
||||
}
|
||||
Loading…
Reference in New Issue