module.exports.max = function (n1, n2) { return Math.max(n1, n2) } module.exports.len = function (arr) { arr = arr || [] return arr.length } 扫描到的新设备: {{devices.length}} {{item.name}} 信号强度: {{item.RSSI}}dBm ({{utils.max(0, item.RSSI + 100)}}%) UUID: {{item.deviceId}} 最近连接的设备: {{item.name}} UUID: {{item.deviceId}} 当前蓝牙不可用,请检查手机蓝牙是否已打开后再试! {{bleOtherErrorReeponseMsg}}