合同登记相关
This commit is contained in:
@ -98,7 +98,7 @@ const props = defineProps({
|
||||
showFileList: propTypes.bool.def(false),
|
||||
// 默认显示的文件列表
|
||||
defaultFileList: {
|
||||
type: Array,
|
||||
type: Array as any,
|
||||
default: () => []
|
||||
},
|
||||
// 其他参数
|
||||
@ -180,12 +180,11 @@ watch(
|
||||
{ deep: true, immediate: true }
|
||||
);
|
||||
watch(() => props.defaultFileList, () => {
|
||||
if(props.defaultFileList.length === 0) return;
|
||||
if (props.defaultFileList.length === 0) return;
|
||||
props.defaultFileList.forEach((item: any) => {
|
||||
fileList.value.push(item);
|
||||
});
|
||||
console.log(fileList.value);
|
||||
|
||||
|
||||
}, { deep: true, immediate: true });
|
||||
// 上传前校检格式和大小
|
||||
const handleBeforeUpload = (file: any) => {
|
||||
|
Reference in New Issue
Block a user