https://github.com/kazupon/vu...
html中可以这么用
<p>{{ $t("message.hello") }}</p>
那怎么赋给变量呢?
data () { return { value: "$t('allQuestion')" //无效 } }
相关分类