Commit 227508ae authored by Pan's avatar Pan Committed by 杨奕

Doc:fix use vue-i18n@6.x typo

parent 79b4cb42
...@@ -114,7 +114,7 @@ const i18n = new VueI18n({ ...@@ -114,7 +114,7 @@ const i18n = new VueI18n({
}) })
Vue.use(Element, { Vue.use(Element, {
i18n: (key, value) => i18n._t(key, value) i18n: (key, value) => i18n.t(key, value)
}) })
new Vue({ i18n }).$mount('#app') 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