1 let deviceId ="" 2 if (window.plus) { 3 deviceId = plus.device.uuid; 4 } else { 5 // 兼容老版本的plusready事件 6 document.addEventListener( 7 "plusready", 8 function () { 9 deviceId = plus.device.uuid; 10 }, 11 false 12 ); 13 }
1 let deviceId ="" 2 if (window.plus) { 3 deviceId = plus.device.uuid; 4 } else { 5 // 兼容老版本的plusready事件 6 document.addEventListener( 7 "plusready", 8 function () { 9 deviceId = plus.device.uuid; 10 }, 11 false 12 ); 13 }
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。