Small micro-channel program determines the phone has no positioning method

Small micro-channel program determines the phone has no positioning method

 

var that = the this ; 
wx.getSystemInfo ({ 
Success (RES) { 
var isopendingwei = res.locationEnabled;
 IF (== isopendingwei to false ) { 
that.tc ( ' clear mobile GPS positioning first turned on, then refresh ' ); 
} 




} 
})

 

Guess you like

Origin www.cnblogs.com/newmiracle/p/12332276.html