Explorar el Código

feat(组件): 修改bug

tangning hace 3 años
padre
commit
90d8069105
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/components/Upload/src/UploadModal.vue

+ 1 - 0
src/components/Upload/src/UploadModal.vue

@@ -273,6 +273,7 @@
       // 点击开始上传
       // 点击开始上传
       async function handleStartUpload() {
       async function handleStartUpload() {
         const { maxNumber,fileFlow } = props;
         const { maxNumber,fileFlow } = props;
+        console.log('fileListRef',fileListRef.value,'props',props)
         if ((fileListRef.value.length + props.previewFileList?.length ?? 0) > maxNumber) {
         if ((fileListRef.value.length + props.previewFileList?.length ?? 0) > maxNumber) {
           return createMessage.warning(t('component.upload.maxNumber', [maxNumber]));
           return createMessage.warning(t('component.upload.maxNumber', [maxNumber]));
         }
         }