修改this实例问题

This commit is contained in:
2025-08-21 10:10:50 +08:00
parent c70f7de7cd
commit 2843743858

View File

@@ -579,7 +579,8 @@ export default {
startProcess() {
let params = {
state: 1
state: 1,
batchId: this.processBatchId
}
materialStart(params).then(res => {
if (res.data === 1) {
@@ -729,20 +730,16 @@ export default {
// TODO
clearInterval(this.intervalTime)
this.getDataList() // 接口方法
this.intervalTime = setInterval(() => {
this.getFault()
this.getPLCData()
this.getDataList() // 接口方法
}, 2000)
},
computed: {},
created() {
this.getPLCData()
this.getDataList() // 接口方法
newIP()
this.getFault()
},
beforeDestroy() {