修复bug
This commit is contained in:
@@ -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')
|
||||
},
|
||||
|
||||
+1
-3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user