修改页面log输出并修改tonken超时判断
This commit is contained in:
@@ -140,7 +140,7 @@ const handleUpDevice = () => {
|
||||
|
||||
const radioChangeEvent: VxeTableEvents.RadioChange = ({ row }) => {
|
||||
selectRow.value = row
|
||||
console.log('单选事件')
|
||||
// console.log('单选事件')
|
||||
}
|
||||
|
||||
|
||||
@@ -183,7 +183,7 @@ mqttRef.value.on('connect', () => {
|
||||
})
|
||||
const mqttMessage = ref<any>({})
|
||||
mqttRef.value.on('message', (topic: any, message: any) => {
|
||||
console.log('mqtt接收到消息', JSON.parse(JSON.stringify(JSON.parse(new TextDecoder().decode(message)))))
|
||||
// console.log('mqtt接收到消息', JSON.parse(JSON.stringify(JSON.parse(new TextDecoder().decode(message)))))
|
||||
loading.value = false
|
||||
let str = JSON.parse(JSON.stringify(JSON.parse(new TextDecoder().decode(message))))
|
||||
let regex1 = /allStep:(.*?),nowStep/
|
||||
@@ -192,7 +192,7 @@ mqttRef.value.on('message', (topic: any, message: any) => {
|
||||
allStep: str.match(regex1)[1],
|
||||
nowStep: str.match(regex2)[1]
|
||||
}
|
||||
console.log(mqttMessage.value)
|
||||
// console.log(mqttMessage.value)
|
||||
let checkedList = tableRef.value.getCheckboxRecords().map((item: any) => {
|
||||
return item.name
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user