kazupon/vue-i18n

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

オープン

#449 opened on 2018/10/23

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (837 件のフォーク)batch import
good first issue

Repository metrics

Stars
 (7,222 個のスター)
PR merge metrics
 (30d に merged 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)

コントリビューターガイド