修改问题
This commit is contained in:
@@ -111,16 +111,16 @@ const handleUpDevice = () => {
|
||||
ndid: routes.query.ndid,
|
||||
proList: proList
|
||||
}
|
||||
loading.value = true
|
||||
// loading.value = true
|
||||
offlineDataUploadMakeUp(form)
|
||||
.then((res: any) => {
|
||||
if (res.code == 'A0000') {
|
||||
ElMessage.success(res.message)
|
||||
loading.value = false
|
||||
// loading.value = false
|
||||
}
|
||||
})
|
||||
.catch(e => {
|
||||
loading.value = false
|
||||
// loading.value = false
|
||||
})
|
||||
}
|
||||
const handleIntoDir = (row: any) => {
|
||||
@@ -173,6 +173,7 @@ mqttRef.value.on('message', (topic: any, message: any) => {
|
||||
// console.log('🚀 ~ mqttRef.value.on ~ message:', JSON.parse(message))
|
||||
// console.log('mqtt接收到消息', message,topic)
|
||||
console.log('mqtt接收到消息', JSON.parse(JSON.stringify(JSON.parse(new TextDecoder().decode(message)))))
|
||||
loading.value = false
|
||||
// "{allStep:\""+times+"\",nowStep:"+i+"}"
|
||||
let str = JSON.parse(JSON.stringify(JSON.parse(new TextDecoder().decode(message))))
|
||||
// eval('(' + str + ')').includes('fileName')
|
||||
@@ -182,7 +183,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, '=============================================185')
|
||||
let checkedList = tableRef.value.getCheckboxRecords().map((item: any) => {
|
||||
return item.name
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user