code-corps / code-corps/ember-stripe-elements

uncaught TypeError: _this.change.apply is not a function

未关闭
#65 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
64
派生
39
PR 合并指标
30 天内没有已合并 PR

描述

I also switched to "develop" branch for SCA and I think there is an error in addon/components/stripe-element.js, line 86:
this.change(stripeElement, ...args);
when I use it I get the error:
"uncaught TypeError: _this.change.apply is not a function"
Should it be called like the others
this._invokeAction('change', stripeElement, ...args)
?

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 addon/components/stripe-element.js 的第 86 行开始,将 change 调用与附近的 _invokeAction 调用进行比较。在 Stripe Elements 使用场景中验证 change 事件路径;完成的标准是它不再引发报告的 TypeError。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。