소스 검색

Merge remote-tracking branch 'origin/dev' into dev

yangyuxuan 4 주 전
부모
커밋
e1bf58fee5
2개의 변경된 파일3개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 3
      src/components/Map/index.vue
  2. 2 2
      src/views/dataFilling/myFilling.vue

+ 1 - 3
src/components/Map/index.vue

@@ -49,9 +49,7 @@ const mapUtils = useAMap({
     AMap = getAMap();
     map = getMap();
     mapStore.setMapLoaded(true);
-    if (!['logical', 'vectorgraph'].includes(mapStore.activeMap)) {
-      switchMap(mapStore.activeMap);
-    }
+    switchMap(mapStore.activeMap);
     map.on('zoomchange', zoomChangeHandler);
     // 添加遮罩
     if (mapStore.showMask) {

+ 2 - 2
src/views/dataFilling/myFilling.vue

@@ -67,7 +67,7 @@
             </template>
           </el-table-column>
         </el-table>
-        <pagination v-show="total > 0" v-model:page="queryParams.page" v-model:limit="queryParams.pageSize" :total="total" @pagination="tableData" />
+        <pagination v-show="total > 0" v-model:page="queryParams.page" v-model:limit="queryParams.pageSize" :total="total" @pagination="fetchFillList" />
       </div>
     </div>
     <WriteForm v-if="writeFormState.show" :event-id="writeFormState.eventId" @refresh="fetchFillList" @close="handleCancel" />
@@ -119,7 +119,7 @@ const data = reactive({
   }
 });
 
-const { queryParams, form } = toRefs(data);
+const { queryParams } = toRefs(data);
 
 let writeFormState = reactive({
   show: false,