refactor: option to use or not use i18n
This commit is contained in:
parent
f3e1168ee0
commit
e58db7085c
1 changed files with 5 additions and 3 deletions
|
|
@ -281,9 +281,11 @@ onMounted(async () => {
|
|||
>
|
||||
{{
|
||||
item.text
|
||||
? $t(item.text, {
|
||||
...(item.argsi18n || {}),
|
||||
})
|
||||
? item.i18n
|
||||
? $t(item.text, {
|
||||
...(item.argsi18n || {}),
|
||||
})
|
||||
: item.text
|
||||
: ''
|
||||
}}
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue