fix: 清零同步更新screen数据
This commit is contained in:
parent
a12e229d41
commit
9221e203d0
|
@ -145,6 +145,7 @@ export default {
|
|||
} else {
|
||||
await this.sendRemoteControlCommand('countClear')
|
||||
}
|
||||
this.$emit('countClear')
|
||||
},
|
||||
async handleMosqClean() {
|
||||
if (!this.dialogMosqVisible) {
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<screen
|
||||
:deviceID="this.$store.getters.deviceID"
|
||||
:lastItem="lastItem"
|
||||
@countClear="countClear"
|
||||
v-if="flag"
|
||||
>
|
||||
</screen>
|
||||
|
@ -214,6 +215,9 @@ export default {
|
|||
this.listLoading = false
|
||||
})
|
||||
},
|
||||
countClear() {
|
||||
this.getDevices({ device_id: this.device_id })
|
||||
},
|
||||
// getDeviceLogsTableHistory(params) {
|
||||
// fetchDeviceLogsHistory(params).then(response => {
|
||||
// this.deviceLogs = response.data.results
|
||||
|
|
Loading…
Reference in New Issue