kazupon/vue-i18n

this.$t(...) breaks the app when called from a mixin

开放

#449 创建于 2018年10月23日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (837 个派生)batch import
good first issue

仓库指标

星标
 (7,222 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

App is stuck when I try to call this.$t(...) from within a mixin.

When I inspect this context from the mixin I see this on $t object for arguments and caller:

Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.remoteFunction (<anonymous>:2:14)

I'm using the latest version (8.2.1)

贡献者指南