Compare commits

..

2 Commits

Author SHA1 Message Date
caiyiling 66d09ca284 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing Details
2025-01-10 14:25:01 +08:00
caiyiling e672e6bd18 保存验证更改 2025-01-10 14:24:39 +08:00
1 changed files with 5 additions and 1 deletions

View File

@ -733,6 +733,7 @@ export default {
return new Blob([bytesCode], { type: imgtype }) return new Blob([bytesCode], { type: imgtype })
}, },
async handleSave() { async handleSave() {
try {
const valid = await this.$refs.measurementForm.validate() const valid = await this.$refs.measurementForm.validate()
if (!valid) return if (!valid) return
if (parseInt(this.questionForm[this.isMeasurableId]) === 1) { if (parseInt(this.questionForm[this.isMeasurableId]) === 1) {
@ -817,6 +818,9 @@ export default {
console.log(e) console.log(e)
loading.close() loading.close()
} }
} catch (e) {
console.log(e)
}
}, },
async handleClose() { async handleClose() {
this.$emit('close') this.$emit('close')