feat: 对话状态记忆

This commit is contained in:
2026-04-02 10:30:37 +08:00
parent 836431788a
commit 846b8e5e49
2 changed files with 1 additions and 2 deletions

View File

@@ -111,7 +111,7 @@
params.imageUrlList = payload.params.imageUrlList || [] params.imageUrlList = payload.params.imageUrlList || []
params.quotaUrl = payload.params.quotaUrl || [] params.quotaUrl = payload.params.quotaUrl || []
} }
isGenerating.value = false isGenerating.value = payload.isGenerating || false
isPaused.value = payload.isPaused || false isPaused.value = payload.isPaused || false
return true return true
} }

View File

@@ -161,7 +161,6 @@
const quotaList = props.content.image_url ?? [] const quotaList = props.content.image_url ?? []
list.push(...quotaList) list.push(...quotaList)
} }
console.log(imageUrls, '---imageUrls---')
if (!imageUrls || imageUrls.length === 0) return list if (!imageUrls || imageUrls.length === 0) return list
imageUrls?.forEach((item) => { imageUrls?.forEach((item) => {