From 62b514f4f93c1e8869ace760092d3f2cd6089dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=90=8C?= <525441437@qq.com> Date: Wed, 28 Feb 2024 14:13:42 +0800 Subject: [PATCH] 1 --- src/views/page/formula.vue | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/page/formula.vue b/src/views/page/formula.vue index 843bfd7..1e0be1b 100644 --- a/src/views/page/formula.vue +++ b/src/views/page/formula.vue @@ -83,7 +83,7 @@
肥料通道最大值 - @@ -404,19 +404,19 @@ export default { }, //限制 写入停止后j*100毫秒调取函数 delayTimer(i, data) { - const that = this; - //整体接口 - let j = this.$store.state.lateSend; - //避免开启多个计时器 - this.timer && clearInterval(this.timer); + // const that = this; + // //整体接口 + // let j = this.$store.state.lateSend; + // //避免开启多个计时器 + // this.timer && clearInterval(this.timer); - this.timer = setInterval(() => { - ++i; - if (i == j) { - that.changeData(data); - clearInterval(this.timer); - } - }, 100); + // this.timer = setInterval(() => { + // ++i; + // if (i == j) { + // that.changeData(data); + // clearInterval(this.timer); + // } + // }, 100); }, changeData(data) { var store = this.$store.state -- 2.40.1