From 35c6e796ccd6af220a84289023b44e83e69adf11 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Mon, 19 Sep 2022 18:29:00 +0800 Subject: [PATCH] xiugai --- src/pages/proj/SignalSend.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/proj/SignalSend.vue b/src/pages/proj/SignalSend.vue index 8193c2c..78d5ffb 100644 --- a/src/pages/proj/SignalSend.vue +++ b/src/pages/proj/SignalSend.vue @@ -120,6 +120,7 @@ export default { }, methods: { async putPoint () { + this.disabled1 = true try { let res = await putPoint(this.val1, this.val2, this.val3, this.val4, this.val5) if (res.code === '1') { @@ -134,7 +135,12 @@ export default { } }, toSure () { - this.putPoint() + if (this.val1 && this.val2 && this.val3 && this.val4 && this.val5) { + this.putPoint() + } else { + this.toast('信息不完整') + this.disabled1 = false + } } } }