- wx.startSoterAuthentication现在线上能用吗?
[图片] 但是我在开发时 人脸识别是可以用的 [图片] 此时我有点蒙,人脸识别到底能不能用
2020-06-28 - setInterval在华为P20失效
[代码]setLineTime(){[代码] [代码]let _this = [代码][代码]this[代码][代码];[代码] [代码]let x = 0;[代码] [代码]let imgs = [[代码] [代码]line1:[代码][代码]'https://img.cdn.zhaoshang800.com/img/2019/07/29/broker/04e17c4f-6f59-412f-995f-6b45a8adea60.png'[代码][代码],[代码] [代码]line2:[代码][代码]'https://img.cdn.zhaoshang800.com/img/2019/07/29/broker/b8f84cbf-d39f-4e08-9afe-1a5cb374cfb5.png'[代码][代码],[代码] [代码]line3:[代码][代码]'https://img.cdn.zhaoshang800.com/img/2019/07/29/broker/7b65a69f-4bb4-45bb-b088-124eb314a5fe.png'[代码][代码],[代码] [代码]];[代码] [代码]// console.log('setLineTime')[代码] [代码]timerLine = setInterval([代码] [代码]function[代码][代码](){[代码] [代码]x++;[代码] [代码]x = x % 3;[代码] [代码]_this.setData({[代码] [代码]arrLine: imgs[x][代码] [代码]});[代码] [代码]// console.log(timerLine, 'timerLine')[代码] [代码]// console.log(_this.data.arrLine, 'arrLine')[代码] [代码]}[代码] [代码], 1000)[代码] [代码]},[代码] 在开发者工具和ios上能打印出console.log(timerLine, 'timerLine')和console.log(_this.data.arrLine, 'arrLine') 在我的安卓手机就不执行setInterval的内部代码
2019-09-27