element [feature request] vue-i18n is obsolete since version 6. X Vue.locale Cause the problem, see the description

zxlwwiss  于 5个月前  发布在  其他
关注(0)|答案(2)|浏览(44)

Existing Component

Component Name

vue-i18n

Description

文件路径:element-ui/src/locale/index.js
问题方法:i18nHandler
行号:11
问题代码 if (typeof vuei18n === 'function' && !!Vue.locale)
这个判断由于Vue.locale已经废弃,导致永远进入不了

mdfafbf1

mdfafbf11#

Translation of this issue:

Existing Component

yes

Component Name

vue-i18n

Description

File path: element UI / SRC / locale/ index.js

Problem method: i18nhandler
Line number: 11

Problem code if (type of vuei18n = ='function '& &!! Vue.locale )
This judgment is due to Vue.locale Has been abandoned, leading to never enter

oxalkeyp

oxalkeyp2#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题