v-on处理程序出错:"TypeError:无法使用' in‘运算符在null中搜索'cc’。在created()中,它显示为undefined,任何更改或更新的尝试也会产生错误
Vue warn]: Cannot set reactive property on undefined, null, or primitive value: <e
const res = await this.callApi('post','place_order',this.formItem) this.order.push(res.data) this.formItem = {}当我收到来自控制器的响应时,这个显示我的'push‘是未定义的。public function p
我正在创建一个laravel SPA,并使用vue.js作为框架。我在我的项目中添加了一个甜蜜的警告包,但是每当我使用toast函数时,它就会得到一个错误。我试过使用除toast.fire以外的其他函数,如swal.fire,它可以正常工作。有人能帮我一下吗?以下是我的一些代码。require('./bootstrap');
import { Form, HasError, AlertError } from 'vform'
import moment from 'moment