duy 2 năm trước cách đây
mục cha
commit
5688f19740
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/views/tentative/device/components/HcDragUpload.vue

+ 1 - 0
src/views/tentative/device/components/HcDragUpload.vue

@@ -99,6 +99,7 @@ const uploadSuccess = ({code, data}) => {
     if (code === 200) {
         window?.$message?.success('上传成功');
         emit('finished', data)
+        uploadRef.value?.clearFiles()
     } else {
         window?.$message?.error('上传失败');
     }