定时更新detail数据

This commit is contained in:
fxxian 2024-04-08 17:07:11 +08:00
parent 64b03f9a67
commit 9571f4744f
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ export default {
mounted() { mounted() {
this.timer = setInterval(() => { this.timer = setInterval(() => {
this.getDevices({ device_id: this.device_id }) this.getDevices({ device_id: this.device_id })
}, 5000) }, 30 * 1000)
}, },
methods: { methods: {
getDeviceLogsHistory(params) { getDeviceLogsHistory(params) {