|
@@ -87,8 +87,7 @@ export default {
|
|
|
for(let i =0;i<len;i++) {
|
|
|
if(this.allSheetData[i].celldata[this.currentPage*this.pageSize]) {
|
|
|
this.sheetConfig.data[i].celldata = this.sheetConfig.data[i].celldata.concat(this.allSheetData[i].celldata.slice(this.currentPage*this.pageSize, (this.currentPage+1)*this.pageSize))
|
|
|
- console.log(this.sheetConfig.data[i].celldata)
|
|
|
- this.$refs.sheetRef.init()
|
|
|
+ // this.$refs.sheetRef.init()
|
|
|
}
|
|
|
continue
|
|
|
|
|
@@ -97,8 +96,6 @@ export default {
|
|
|
if (this.currentPage<this.maxPage) {
|
|
|
this.currentPage++
|
|
|
requestAnimationFrame(this.loadDataSync());
|
|
|
- }else {
|
|
|
- this.isLoadOver = true;
|
|
|
}
|
|
|
},
|
|
|
|
|
@@ -123,6 +120,7 @@ export default {
|
|
|
celldata: _.celldata,
|
|
|
}));
|
|
|
|
|
|
+ //辣鸡插件连更新数据的api都没有 做切片加载都做不了
|
|
|
// this.loadDataSync();
|
|
|
this.isLoading = false;
|
|
|
},
|