在类星体中切换翻译变量
switch translation variable in quasar
要打印翻译数据我使用默认命令{{ $t('failed') }}
我想将变量 t
更改为其他变量 {{ $t_abc('failed') }}
可行吗?
在main.js或boot/i18n.js
Vue.prototype.$t_abc = Vue.prototype.$t;
要打印翻译数据我使用默认命令{{ $t('failed') }}
我想将变量 t
更改为其他变量 {{ $t_abc('failed') }}
可行吗?
在main.js或boot/i18n.js
Vue.prototype.$t_abc = Vue.prototype.$t;