优化图片、视频路径
parent
cb796daaf1
commit
022369b7db
|
|
@ -292,9 +292,9 @@
|
|||
element.show = true;
|
||||
}
|
||||
});
|
||||
console.log(formColumns);
|
||||
// 切换时保存值
|
||||
const values = await validate();
|
||||
// const values = await validate();
|
||||
const values = getFieldsValue();
|
||||
if (Object.keys(FieldsValue.value).length == 0) {
|
||||
FieldsValue.value = values;
|
||||
}
|
||||
|
|
@ -307,9 +307,9 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
setFieldsValue({
|
||||
...FieldsValue.value,
|
||||
});
|
||||
setTimeout(() => {
|
||||
setFieldsValue(FieldsValue.value);
|
||||
}, 10);
|
||||
}
|
||||
|
||||
async function getFormDetail() {
|
||||
|
|
@ -427,7 +427,7 @@
|
|||
}
|
||||
}
|
||||
async function getIssueInfo() {
|
||||
console.log("111",props.issueId);
|
||||
console.log('111', props.issueId);
|
||||
}
|
||||
defineExpose({
|
||||
getForm,
|
||||
|
|
@ -451,6 +451,6 @@
|
|||
}
|
||||
.my-form-viewer {
|
||||
overflow: auto;
|
||||
height: calc( 100vh - 350px);
|
||||
height: calc(100vh - 350px);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@
|
|||
uid: '-1',
|
||||
name: item,
|
||||
status: 'done',
|
||||
url: server+item
|
||||
url: server+'/'+item
|
||||
})
|
||||
console.log("fileListItem",fileList.value)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ import { fileUploadApi } from '@/api/sys/upload';
|
|||
uid: '-1',
|
||||
name: item,
|
||||
status: 'done',
|
||||
url: server+item
|
||||
url: server+'/'+item
|
||||
})
|
||||
console.log("fileListItem",fileList.value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue