提交所有内容

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

@@ -173,7 +173,7 @@
import { computed, onMounted, ref } from 'vue'
import { ElMessage } from 'element-plus'
import BrandTopBar from './BrandTopBar.vue'
import { expandBrandFolder, getBrandTemplateXlsxUrl, getBrandTemplateZipUrl } from '@/shared/api/brand'
import { expandBrandFolderRecursive, getBrandTemplateXlsxUrl, getBrandTemplateZipUrl } from '@/shared/api/brand'
import type { BrandExpandFolderItem } from '@/shared/api/brand'
import {
deleteConvertHistory,
@@ -288,7 +288,7 @@ async function selectConvertFolder() {
if (!folder) return
convertArchiveName.value = folder.split(/[/\\]/).filter(Boolean).pop() || ''
const result = await expandBrandFolder(folder)
const result = await expandBrandFolderRecursive(folder)
if (result.success && result.items?.length) {
convertSelectedPaths.value = result.items.map((item) => item.relativePath)
convertUploadedFiles.value = await uploadPathsToJava(result.items)