diff --git a/src/views/components/uploadFile.vue b/src/views/components/uploadFile.vue index 99e2f9f..db4eca8 100644 --- a/src/views/components/uploadFile.vue +++ b/src/views/components/uploadFile.vue @@ -13,18 +13,6 @@ :disabled="isDisabled" > -
- -
-

- {{ item.originalName }} -

-
- - -
@@ -33,8 +21,6 @@ import { fileUpload, fileDelete } from '@/api/publicApi.js'; import { useStore } from '@/pinia/store.js'; import { getCurrentInstance } from 'vue'; -// import 'vue3-video-play/dist/style.css'; -// import vue3VideoPlay from 'vue3-video-play'; const props = defineProps({ //最大上传数 @@ -64,15 +50,7 @@ const fileList = ref([]); //文件列表 const uploadList = ref([]); const maxCount = props.maxCount; //最大上传数 -const showVideo = ref(false); -const videoUrl = ref(''); -// 查看视频弹窗 -function checkVideo(url) { - videoUrl.value = url; - console.log(videoUrl.value, ' videoUrl.value'); - showVideo.value = true; -} // 开始上传图片 const beforeRead = async (file) => { console.log(file, '原本上传的文件--');