修改this实例问题

This commit is contained in:
2025-08-12 22:18:32 +08:00
parent e888f0cee7
commit c70f7de7cd

View File

@@ -728,14 +728,14 @@ export default {
mounted() {
// TODO
// clearInterval(this.intervalTime)
// this.getDataList() // 接口方法
//
// this.intervalTime = setInterval(() => {
// this.getFault()
// this.getPLCData()
// this.getDataList() // 接口方法
// }, 2000)
clearInterval(this.intervalTime)
this.getDataList() // 接口方法
this.intervalTime = setInterval(() => {
this.getFault()
this.getPLCData()
this.getDataList() // 接口方法
}, 2000)
},
computed: {},
created() {