Compare commits

...

1 Commits

Author SHA1 Message Date
peterlu14 471d4cf1ba [update] start button replace record button 2021-02-19 14:41:16 +08:00
2 changed files with 6 additions and 4 deletions
@@ -100,7 +100,8 @@ export default {
this.mqttPub(taskInfo.getTaskInfo().controllerID + '_user', JSON.stringify({
header: 'device_instruction/0',
device: taskInfo.getRawDeviceID(device.id),
instruction: 'start',
instruction: 'record',
// instruction: 'start',
}))
device.isSync = true
this.$emit('refreshSetting')
@@ -115,7 +116,8 @@ export default {
this.mqttPub(taskInfo.getTaskInfo().controllerID + '_user', JSON.stringify({
header: 'device_instruction/0',
device: taskInfo.getRawDeviceID(device.id),
instruction: 'interrupt',
// instruction: 'interrupt',
instruction: 'stop_record',
}))
}
// device.isSync = false
@@ -1,6 +1,6 @@
<template>
<div class="flex" >
<div>
<!-- <div>
<div class="row sm12 xl12 md12 xs12">
<va-button
class="mx-1 px-2 mb-3"
@@ -21,7 +21,7 @@
Stop
</va-button>
</div>
</div>
</div> -->
<va-tree-root >
<va-tree-category