Commit 78045b5c authored by Adrian's avatar Adrian Committed by 杨奕

Update vue-i18n@6x support

i18n returns renderSlot (vm._t) function instead i18n.t
https://kazupon.github.io/vue-i18n/en/api.html
parent fb4a7862
......@@ -102,7 +102,7 @@ const i18n = new VueI18n({
})
Vue.use(Element, {
i18n: key => i18n.vm._t(key)
i18n: key => i18n.t(key)
})
new Vue({ i18n }).$mount('#app')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment