fix:bug修复
This commit is contained in:
@@ -675,7 +675,7 @@ const queryDirDataFun = async (param: any) => {
|
||||
const list = res.data.data.map((item: any) => {
|
||||
return {
|
||||
...item,
|
||||
id: item.fileId,
|
||||
// id: item.fileId,
|
||||
originalName: item.name,
|
||||
};
|
||||
});
|
||||
@@ -809,6 +809,9 @@ const submitFun = async () => {
|
||||
...uploadFIleFormData,
|
||||
};
|
||||
|
||||
console.log(paramData, 'paramData');
|
||||
console.log(uploadFIleFormData, 'uploadFIleFormData');
|
||||
|
||||
if (fileList.length) {
|
||||
const file = fromData.uploadFile[0].raw;
|
||||
|
||||
@@ -880,6 +883,7 @@ const actionList = ref([
|
||||
click: (row: any) => {
|
||||
visible.value = true;
|
||||
currentFileInfo.value = row;
|
||||
|
||||
nextTick(async () => {
|
||||
tableFormRef.value.setFormDataFun(currentFileInfo.value);
|
||||
fileList.value = [];
|
||||
|
||||
Reference in New Issue
Block a user