Vue error resolution: typeerror: cannot read property ‘_ t’ of undefined”

[Vue warn]: Error in render: “TypeError: Cannot read property ‘_t’ of undefined”
The compatibility issue between Vue and i18n is the multi-language configuration used in the project. The solution is as follows:



Vue.use(iView, {
  i18n: function(path, options) {
    let value = i18n.t(path, options)
    if (value !== null && value !== undefined) {
      return value
    return ''

Internationalization other items are configured unchanged and are recorded only.
Reference articles:

Read More: