if (pageNum == 1) {
than.list = [res.data.data];
} else {
than.$set(than.list, pageNum - 1, res.data.data);
}
不要使用index,注意key的取值,需要唯一 不需要 this.$forceUpdate();
if (pageNum == 1) {
than.list = [res.data.data];
} else {
than.$set(than.list, pageNum - 1, res.data.data);
}
不要使用index,注意key的取值,需要唯一 不需要 this.$forceUpdate();