标签:str etc ott bye com 设置 function rem UNC
来自:https://www.jianshu.com/p/180957762852 侵删
beforeMount() { //车辆进出设置定时器,每3秒刷新一次 var self = this; clearInterval(timer); let timer = setInterval(_getCarPeopleStreamByEntraceBottom, 3000) function _getCarPeopleStreamByEntraceBottom() { //生成随机数用来测试 let totelNumber = new Array(8); for (let i = 0; i < totelNumber.length; i++) { totelNumber[i] = Math.ceil(Math.random() * 10) - 1 }; let data = { carInNumber: totelNumber[0], carOutNumber: totelNumber[1] }; self.southPassagewayData = data; } _getCarPeopleStreamByEntraceBottom(); },
标签:str etc ott bye com 设置 function rem UNC
原文地址:https://www.cnblogs.com/Byme/p/10333966.html