소스 검색

修改变量

Bella 2 년 전
부모
커밋
8532f671c3
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/ComprehensiveAnalysis.vue

+ 2 - 1
src/views/ComprehensiveAnalysis.vue

@@ -893,6 +893,7 @@ export default {
       mainType,
       sourceType
     ) {
+      debugger
       let uniqueId = id;
       if (map2DViewer.analysisGroups[uniqueId]) {
         this.paginationData.currentPage = val;
@@ -904,7 +905,7 @@ export default {
             val * currentPageSize
           );
         } else {
-          this.originalData[uniqueId] = oldData.slice(page - 1, oldData.length);
+          this.originalData[uniqueId] = oldData.slice(val - 1, oldData.length);
         }
 
         this.originalData[uniqueId] = this.originalData[uniqueId].map((ele) => {