This commit is contained in:
2022-09-19 18:29:00 +08:00
parent ddb4607070
commit 35c6e796cc

View File

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