去掉打印
parent
4ac3178b04
commit
835a054a8c
|
|
@ -412,7 +412,6 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
updateTempFast: function (msgData,topic) {
|
updateTempFast: function (msgData,topic) {
|
||||||
console.info("监听到温度",topic,msgData)
|
|
||||||
const regexWithGroup = /^frontend\/(.+)\/dtu\/(\d+)\/listener$/;
|
const regexWithGroup = /^frontend\/(.+)\/dtu\/(\d+)\/listener$/;
|
||||||
const matchResult = topic.match(regexWithGroup);
|
const matchResult = topic.match(regexWithGroup);
|
||||||
const imei = matchResult[2]; // 提取结果:'1234567890'
|
const imei = matchResult[2]; // 提取结果:'1234567890'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue