|
@ -80,13 +80,13 @@ export default{ |
|
|
let data = { content: content, deviceId: this.selectedDevice.iotDeviceId } |
|
|
let data = { content: content, deviceId: this.selectedDevice.iotDeviceId } |
|
|
|
|
|
|
|
|
if (IS_TESTING) { |
|
|
if (IS_TESTING) { |
|
|
this.saveLog(content); |
|
|
// this.saveLog(content);
|
|
|
this.____getDeviceInfo(); |
|
|
this.____getDeviceInfo(); |
|
|
loading.close() |
|
|
loading.close() |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
publishToBoard(data).then(res => { |
|
|
publishToBoard(data).then(res => { |
|
|
this.saveLog(content); |
|
|
// this.saveLog(content);
|
|
|
this.____getDeviceInfo(); |
|
|
this.____getDeviceInfo(); |
|
|
}).catch(err=>{ |
|
|
}).catch(err=>{ |
|
|
|
|
|
|
|
|