fix:OCR识别后ISBN/书号均为空时生成678随机ISBN并显示在表单

This commit is contained in:
97694732@qq.com 2026-06-23 17:13:26 +08:00
parent 46450acdd9
commit b7481c1f99

View File

@ -3160,6 +3160,10 @@ export default {
}
this.noIsbnUnifyIsbn = bookCodeText
}
// ISBN 678
if (!this.noIsbnIsbn && !this.noIsbnUnifyIsbn) {
this.noIsbnIsbn = this.generateRandomIsbn()
}
if (texts.字数) this.noIsbnWordCount = this.processNoIsbnWordage(texts.字数)
uni.showToast({ title: '识别成功', icon: 'success' })