1
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-07-01 09:09:11 +08:00
parent bb00ac10f8
commit cdcc98efeb
2 changed files with 2 additions and 2 deletions
@@ -797,7 +797,7 @@ export default {
async handleSave() { async handleSave() {
let loading = null let loading = null
try { try {
let valid = await this.$refs.tableQsForm.validate() let valid = await this.$refs.tableQsForm.validate().catch(() => false)
if (!valid) return if (!valid) return
// 判断是否有标记未保存 // 判断是否有标记未保存
let isExistUnSaved = false let isExistUnSaved = false
@@ -277,7 +277,7 @@ export default {
} }
}, },
async validateBeforeSave() { async validateBeforeSave() {
const valid = await this.$refs['questions'].validate() const valid = await this.$refs['questions'].validate().catch(() => false)
if (!valid) return false if (!valid) return false
const hasUnsavedAnnotation = this.verifyAnnotationIsSave() const hasUnsavedAnnotation = this.verifyAnnotationIsSave()
if (!hasUnsavedAnnotation) return true if (!hasUnsavedAnnotation) return true