提交所有内容

This commit is contained in:
super
2026-03-22 12:45:58 +08:00
parent 0d83d56a05
commit 923dfd2495
9 changed files with 39 additions and 8 deletions

View File

@@ -147,7 +147,7 @@
import { computed, onMounted, ref } from 'vue'
import { ElMessage } from 'element-plus'
import BrandTopBar from './BrandTopBar.vue'
import { expandBrandFolder, type BrandExpandFolderItem } from '@/shared/api/brand'
import { expandBrandFolderRecursive, type BrandExpandFolderItem } from '@/shared/api/brand'
import { deleteDedupeHistory, getDedupeHistory, getExcelInfo, runDedupe, type DedupeResultItem, type DedupeRunVo } from '@/shared/api/java-modules'
import { getPywebviewApi, type UploadedJavaFile } from '@/shared/bridges/pywebview'
@@ -247,7 +247,7 @@ async function selectCleanFolder() {
if (!folder) return
cleanArchiveName.value = folder.split(/[/\\]/).filter(Boolean).pop() || ''
const result = await expandBrandFolder(folder)
const result = await expandBrandFolderRecursive(folder)
if (result.success && result.items?.length) {
cleanSelectedPaths.value = result.items.map((item) => item.relativePath)
cleanUploadedFiles.value = await uploadPathsToJava(result.items)