feat: 功能优化

This commit is contained in:
2025-11-16 22:09:41 +08:00
parent 995385f520
commit 3a9e823375
5 changed files with 129 additions and 42 deletions

View File

@@ -148,7 +148,6 @@ const uploading = ref(false)
// 筛选条件
const filters = reactive({
fileCategory: undefined,
fileName: '',
createTime: undefined
})
@@ -204,11 +203,6 @@ const handleConfirmUpload = async (files, fileCategory) => {
return
}
if (!fileCategory) {
message.warning('请选择文件分类')
return
}
uploading.value = true
let successCount = 0
let failCount = 0
@@ -289,7 +283,6 @@ const handleFilterChange = () => {
}
const handleResetFilters = () => {
filters.fileCategory = undefined
filters.fileName = ''
filters.createTime = undefined
pagination.pageNo = 1