首页 > 其他分享> > Avoid mutating a prop directly since the value will be overwritten whenever Avoid mutating a prop directly since the value will be overwritten whenever 2021-07-15 15:00:50 作者:互联网 <li v-for="item in copyOptionList" :key="item.lngpurchasemodeid" value="item.lngpurchasemodeid"></li> 不要改变props里父级传过来的值,拷贝一份随便改 标签:overwritten,父级,whenever,Avoid,since,value 来源: https://www.cnblogs.com/hellofangfang/p/15015577.html