Merge pull request 'fix:location字段加限制' (#227) from fix/change_task into test

Reviewed-on: #227
pull/235/head
赵辉 1 year ago
commit 441e200c16

@ -419,9 +419,10 @@ async function getTableData() {
fieldList.forEach((v) => {
if (userFieldList.includes(v.name)) {
let locationobj = { address: '' }
if (v.name == 'location') {
if (v.name == 'location'&& taskDetailInfo.value.ocrPicture[v.name]!=null&& taskDetailInfo.value.ocrPicture[v.name]!="null") {
locationobj = JSON.parse(
taskDetailInfo.value.ocrPicture ? taskDetailInfo.value.ocrPicture[v.name] : '{}',
taskDetailInfo.value.ocrPicture ? taskDetailInfo.value.ocrPicture[v.name] : {},
)
}
const item = {

Loading…
Cancel
Save