保存验证更改
parent
0a473dcae3
commit
e672e6bd18
|
@ -733,6 +733,7 @@ export default {
|
|||
return new Blob([bytesCode], { type: imgtype })
|
||||
},
|
||||
async handleSave() {
|
||||
try {
|
||||
const valid = await this.$refs.measurementForm.validate()
|
||||
if (!valid) return
|
||||
if (parseInt(this.questionForm[this.isMeasurableId]) === 1) {
|
||||
|
@ -817,6 +818,9 @@ export default {
|
|||
console.log(e)
|
||||
loading.close()
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
},
|
||||
async handleClose() {
|
||||
this.$emit('close')
|
||||
|
|
Loading…
Reference in New Issue