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