fix:OCR识别出作者后自动按作者过滤获取出版社
This commit is contained in:
parent
c7fe587318
commit
080cc1e387
@ -3393,7 +3393,13 @@ export default {
|
|||||||
const texts = ocrData.texts
|
const texts = ocrData.texts
|
||||||
// 自动填充表单
|
// 自动填充表单
|
||||||
if (texts.书名) this.noIsbnBookName = texts.书名
|
if (texts.书名) this.noIsbnBookName = texts.书名
|
||||||
if (texts.作者) this.noIsbnAuthor = texts.作者
|
if (texts.作者) {
|
||||||
|
this.noIsbnAuthor = texts.作者
|
||||||
|
// OCR识别出作者后,按作者过滤获取出版社
|
||||||
|
this.$nextTick(function() {
|
||||||
|
this.fetchNoIsbnPressesByAuthor(this.noIsbnAuthor)
|
||||||
|
}.bind(this))
|
||||||
|
}
|
||||||
if (texts.出版社) this.noIsbnPublisher = texts.出版社
|
if (texts.出版社) this.noIsbnPublisher = texts.出版社
|
||||||
if (texts.出版时间) this.noIsbnPrintTime = texts.出版时间
|
if (texts.出版时间) this.noIsbnPrintTime = texts.出版时间
|
||||||
if (texts.定价) {
|
if (texts.定价) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user