소스 검색

[Fix 0000] 去除非必要的加载提示和表单功能

houzekong 2 달 전
부모
커밋
feb0caa473
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/layouts/default/feature/SimpleMap.vue
  2. 1 0
      src/views/dashboard/basicInfo/problemReport/index.vue

+ 2 - 2
src/layouts/default/feature/SimpleMap.vue

@@ -204,7 +204,7 @@
 
 
       renderGoafMarkers(res); // 渲染标记
       renderGoafMarkers(res); // 渲染标记
     } else {
     } else {
-      const hide = message.loading('地图加载中...', 0);
+      // const hide = message.loading('地图加载中...', 0);
       const [m, res] = await Promise.all([
       const [m, res] = await Promise.all([
         initMap(mapContainer.value!),
         initMap(mapContainer.value!),
         getGeoJSON({
         getGeoJSON({
@@ -213,7 +213,7 @@
         }),
         }),
       ]);
       ]);
       const [geojson, __, markers] = res;
       const [geojson, __, markers] = res;
-      hide();
+      // hide();
       map = m;
       map = m;
 
 
       initMapGeoJSON(map, geojson);
       initMapGeoJSON(map, geojson);

+ 1 - 0
src/views/dashboard/basicInfo/problemReport/index.vue

@@ -68,6 +68,7 @@
             :sync-to-store="false"
             :sync-to-store="false"
             :init-from-store="false"
             :init-from-store="false"
             :change-on-select="false"
             :change-on-select="false"
+            :allow-clear="false"
             @change="changeCascader"
             @change="changeCascader"
           />
           />
         </template>
         </template>