原因:如果对象中包含的层级很多,对象包含数组这类的对象,赋值应该用$set
let arr = [
{
no: 1,
qname: "",
name: "",
imgAcad: [],
showTipAcad: false,
},
];
this.$set(this.infoForm, "acadList", arr);
而不是
this.infoForm.acadList = arr
网友评论