我将object的值作为道具传递给表单中的"data“studentId data() {
return {
form: new Form({
studentId: []
})
};
}, 在我的method中,类列表具有初始值,即学生的id insertScore() {
let students = this.classlists; //<---this is my props
let element = [];
let s = [];
for (let inde
我使用flatlist在原生react中渲染我的数据,但是flatlist渲染大量数据的速度非常慢,在快速滚动之后,它会重新渲染数据。由于这一点,我的应用程序需要很长时间才能显示完整的数据。我也收到了这样的消息
VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldCompo