定时更新detail数据
This commit is contained in:
parent
2d46369bf7
commit
64b03f9a67
|
@ -200,6 +200,11 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
this.timer = setInterval(() => {
|
||||||
|
this.getDevices({ device_id: this.device_id })
|
||||||
|
}, 5000)
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getDeviceLogsHistory(params) {
|
getDeviceLogsHistory(params) {
|
||||||
fetchDeviceLogsHistory(params).then(response => {
|
fetchDeviceLogsHistory(params).then(response => {
|
||||||
|
|
Loading…
Reference in New Issue