获取设备型号

This commit is contained in:
shijingjing
2022-08-02 16:51:06 +08:00
parent 0c3d8d1d09
commit 4a22893b44
2 changed files with 6 additions and 5 deletions

View File

@@ -198,6 +198,11 @@ export default {
},
// 提醒发送
remindSend() {
wx.getSystemInfo({
success (res) {
console.log(res.model)
}
})
this.firstClickTime = new Date(this.detail.remindTime.replace(/-/g, "/")).getTime() || new Date(this.detail.remindTime).getTime() || 0 ;
this.currentClickTime = +new Date();
let time = this.currentClickTime - this.firstClickTime;