refactor: option to use or not use i18n

This commit is contained in:
Methapon2001 2024-08-06 08:56:50 +07:00
parent f3e1168ee0
commit e58db7085c

View file

@ -281,9 +281,11 @@ onMounted(async () => {
>
{{
item.text
? $t(item.text, {
...(item.argsi18n || {}),
})
? item.i18n
? $t(item.text, {
...(item.argsi18n || {}),
})
: item.text
: ''
}}
</span>