web
2025-03-18 8bd42ffbca0bcb0dc18ab17fa8858cd4b333104e
src/components/UploadIcons/index.vue
@@ -25,7 +25,7 @@
  import { upload } from '@/api/basicApi/index'
  // import type { UploadProps } from 'element-plus'
  import { getImage, setImage } from '@/utils/methods'
  import { getImage, setImage } from '@/utils/validate.js'
  const props = defineProps({
      imageList: {
          type: String,
@@ -67,7 +67,7 @@
      let form = new FormData();
      form.append("file1", params.file);
      form.append("fileId", params.file.lastModified);
      form.append("path", 'revenue');
      form.append("path", 'hydropower');
        //发出上传文件请求
      let res = await upload().uploadFile(form)
      if(res.code == 200){
@@ -93,7 +93,6 @@
          })
        })
        fileList.value = list
        console.log('回显',fileList.value)
          
        file.value = newList.split(',')
      }