fix(pl): 防止图片识别回填已锁定的证面引用
This commit is contained in:
1 parent
262ed3971c
commit
57d61f24db
3 files changed
+29
-2
No files matched your search
@@ -982,7 +982,9 @@
|
||||
!(form.value.attachmentUrls || '').split(',').includes(targetImage)
|
||||
)
|
||||
return
|
||||
mergeCandidates(form.value as any, result.candidates, edited)
|
||||
const protectedFields =
|
||||
form.value.referencesEditable === false ? new Set([...edited, 'purchaseRefs']) : edited
|
||||
mergeCandidates(form.value as any, result.candidates, protectedFields)
|
||||
await nextTick()
|
||||
if (session !== editSession || !formVisible.value) return
|
||||
formRef.value?.clearValidate()
|
||||
|
||||
Reference in new issue
Block a user