1
continuous-integration/drone/push Build is passing Details

rj
caiyiling 2026-07-01 09:09:11 +08:00
parent bb00ac10f8
commit cdcc98efeb
2 changed files with 2 additions and 2 deletions

View File

@ -797,7 +797,7 @@ export default {
async handleSave() {
let loading = null
try {
let valid = await this.$refs.tableQsForm.validate()
let valid = await this.$refs.tableQsForm.validate().catch(() => false)
if (!valid) return
//
let isExistUnSaved = false

View File

@ -277,7 +277,7 @@ export default {
}
},
async validateBeforeSave() {
const valid = await this.$refs['questions'].validate()
const valid = await this.$refs['questions'].validate().catch(() => false)
if (!valid) return false
const hasUnsavedAnnotation = this.verifyAnnotationIsSave()
if (!hasUnsavedAnnotation) return true