Update vue-i18n@6x support

i18n returns renderSlot (vm._t) function instead i18n.t
https://kazupon.github.io/vue-i18n/en/api.html
pull/4614/head
Adrian 2017-04-29 19:05:53 +02:00 committed by 杨奕
parent fb4a786249
commit 78045b5c20
1 changed files with 1 additions and 1 deletions

View File

@ -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')