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 + } } } }