1
This commit is contained in:
@@ -32,7 +32,6 @@ const region = ref('JP')
|
||||
const regionOptions = [
|
||||
{ label: '日本 (Japan)', value: 'JP', flag: '🇯🇵' },
|
||||
{ label: '美国 (USA)', value: 'US', flag: '🇺🇸' },
|
||||
{ label: '中国 (China)', value: 'CN', flag: '🇨🇳' },
|
||||
]
|
||||
const pendingAsins = ref<string[]>([])
|
||||
|
||||
@@ -106,7 +105,7 @@ async function batchGetProductInfo(asinList: string[]) {
|
||||
currentAsin.value = `正在处理第${i + 1}/${totalBatches}批 (${batchAsins.join(', ')})`
|
||||
|
||||
try {
|
||||
const result = await amazonApi.getProductsBatch(batchAsins, batchId)
|
||||
const result = await amazonApi.getProductsBatch(batchAsins, batchId, region.value)
|
||||
|
||||
if (result?.data?.products?.length > 0) {
|
||||
localProductData.value.push(...result.data.products)
|
||||
|
||||
Reference in New Issue
Block a user