完成匹配、跟价、权限部分

This commit is contained in:
super
2026-04-17 12:52:16 +08:00
parent 025ca6d4fd
commit ef0e0df0ac
79 changed files with 8871 additions and 1486 deletions

View File

@@ -216,6 +216,7 @@ import {
deleteDeleteBrandHistory,
getDeleteBrandHistory,
getDeleteBrandTaskDetails,
getDeleteBrandTaskProgress,
getDeleteBrandTaskDownloadUrl,
runDeleteBrand,
type DeleteBrandPreviewRow,
@@ -853,7 +854,7 @@ async function refreshTaskDetails(taskIds?: number[]) {
if (!ids.length) return
try {
const batch = await getDeleteBrandTaskDetails(ids)
const batch = await getDeleteBrandTaskProgress(ids)
let changed = false
for (const detail of batch.items || []) {
const id = detail?.task?.id
@@ -876,7 +877,7 @@ async function refreshTaskDetails(taskIds?: number[]) {
}
function getPollIntervalMs() {
return document.visibilityState === 'visible' ? 4500 : 10000
return document.visibilityState === 'visible' ? 6000 : 20000
}
function scheduleNextPoll(immediate = false) {