fix(erp-frontend-vue): resolve TypeScript build errors (duplicate ids, unused vars, null guards, type mismatches)

Made-with: Cursor
This commit is contained in:
panchengyong
2026-03-01 16:40:38 +08:00
parent 10b6d0099a
commit e45616a09b
28 changed files with 45 additions and 49 deletions

View File

@@ -634,7 +634,7 @@ function handleExport() {
async function confirmExport() {
exportLoading.value = true
try {
const blob = await exportPurchasePlan(queryParams)
const blob = (await exportPurchasePlan(queryParams)).data
const url = window.URL.createObjectURL(blob)
const link = document.createElement('a')
link.href = url