xiugai
This commit is contained in:
@@ -120,6 +120,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async putPoint () {
|
async putPoint () {
|
||||||
|
this.disabled1 = true
|
||||||
try {
|
try {
|
||||||
let res = await putPoint(this.val1, this.val2, this.val3, this.val4, this.val5)
|
let res = await putPoint(this.val1, this.val2, this.val3, this.val4, this.val5)
|
||||||
if (res.code === '1') {
|
if (res.code === '1') {
|
||||||
@@ -134,7 +135,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
toSure () {
|
toSure () {
|
||||||
this.putPoint()
|
if (this.val1 && this.val2 && this.val3 && this.val4 && this.val5) {
|
||||||
|
this.putPoint()
|
||||||
|
} else {
|
||||||
|
this.toast('信息不完整')
|
||||||
|
this.disabled1 = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user