前台页面报错“Invalid prop: type check failed for prop “model”. Expected Object, got Array ” 错误是:期望对象,得到的是数组 从后台获取的数据是List类型,需要把它改为Object 获取数据的代码为 this.update = response.data; 改为: this.update = response.data[0];