OCR 识别修改
This commit is contained in:
parent
7cbd2bfe98
commit
8278cd5b25
|
|
@ -122,7 +122,7 @@ export default {
|
||||||
Object.keys(chat_res).forEach(key => {
|
Object.keys(chat_res).forEach(key => {
|
||||||
const formField = this.ocrResultParams[key];
|
const formField = this.ocrResultParams[key];
|
||||||
if (formField && chat_res[key]) {
|
if (formField && chat_res[key]) {
|
||||||
this.form[formField] = chat_res[key];
|
this.form[formField] = chat_res[key].replace(/\s/g, '');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue