fix/updatesyspic #235

Merged
yaoshuli merged 5 commits from fix/updatesyspic into test 1 year ago

@ -203,7 +203,7 @@ async function loadMore() {
onUpdated(() => {
if (startCalTime) {
endTime = new Date().getTime()
if (endTime - startTime > 500)
if (endTime - startTime > 300)
createDom()
}
else {
@ -281,7 +281,7 @@ function isSelected(pictureId: number) {
function moveHandler(e: MouseEvent) {
if (startCalTime) {
endTime = new Date().getTime()
if (endTime - startTime > 500)
if (endTime - startTime > 300)
createDom()
}
else {
@ -324,7 +324,7 @@ function removeDom() {
function upHandler(event: MouseEvent) {
endTime = new Date().getTime()
startCalTime = false
if (endTime - startTime > 500)
if (endTime - startTime > 300)
createDom()
else
removeDom()

@ -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