![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue报错
周zerlinda
这个作者很懒,什么都没留下…
展开
-
vue 列表修改数组属性页面没有渲染成功
添加this.$forceUpdate();进行强制渲染,效果实现。搜索资料得出结果:因为数据层次太多,render函数没有自动更新,需手动强制刷新。转载 2022-06-02 10:30:40 · 280 阅读 · 0 评论 -
Invalid default value for prop “question“: Props with type Object/Array must use a factory function
props:{ question:{ type:Array, default:function(){ return [ { qType:1, value:2, show:true, multipleChoiceList:[{value:''}], choiceList:[{value:''}], ...原创 2022-05-21 10:22:48 · 916 阅读 · 0 评论