修复bug

This commit is contained in:
2026-06-05 17:15:06 +08:00
parent 068b09d272
commit 7503ac4f42
15 changed files with 118 additions and 99 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ function handleSend() {
const tool = String(payload?.tool || '')
const size = payload?.size != null ? String(payload.size) : ''
toolStatus.value = tool
? t('pages.ai.chat.toolStatusWithSize', { tool, size: size || '-' })
? `${t('pages.ai.chat.toolStatusWithSizePrefix')}${tool}${t('pages.ai.chat.toolStatusWithSizeMiddle')}${size || '-'}${t('pages.ai.chat.toolStatusWithSizeSuffix')}`
: t('pages.ai.chat.searchingGoods')
thinkingStatus.value = t('pages.ai.chat.thinkingSearching')
},
@@ -102,9 +102,7 @@ function getTotalDishCount(item: MerchantOrderVo) {
}
function getTotalDishCountText(item: MerchantOrderVo) {
return t('pages.order.totalItemCount', {
count: getTotalDishCount(item),
})
return `${t('pages.order.totalItemCountPrefix')}${getTotalDishCount(item)}${t('pages.order.totalItemCountSuffix')}`
}
function isSameCode(value: unknown, code: unknown) {