我有Laravel Spark的应用程序,在将Stripe集成到其中后,当我使用测试凭据订阅月度计划时,然后会出现一个CANCEL按钮,但控制台中也会出现错误:
app.js:42231 [Vue warn]: Error in render function: "TypeError: Cannot read
property 'active' of undefined"
found in
---> <SparkUpdateSubscription>
<SparkSubscription>
<SparkSettings>
<Root>
warn @ app.js:42231
app.js:42318 TypeError: Cannot read property 'active' of undefined
at Proxy.render (eval at createFunction (app.js:51564), <anonymous>:2:24583)
at VueComponent.Vue._render (app.js:45869)
at VueComponent.updateComponent (app.js:44288)
at Watcher.get (app.js:44629)
at new Watcher (app.js:44618)
at mountComponent (app.js:44292)
at VueComponent.Vue$3.$mount (app.js:49600)
at VueComponent.Vue$3.$mount (app.js:51803)
at init (app.js:45245)
at createComponent (app.js:46884)
我没有对Spark组件的任何核心文件进行任何更改,因此CANCEL按钮不起作用。我也查看了这个链接,这是我得到的同样的错误,Laravel Spark, only showing the cancel subscription option after adding a subscription plan但是我无法在这里得到解决方案。你能告诉我什么是问题,我被困在这里。 提前谢谢。