Browse Source

首页《浦东新区自然资源分布》数据请求问题修复

DESKTOP-6LTVLN7\Liumouren 2 years ago
parent
commit
b8cba51f36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/HomeView.vue

+ 1 - 1
src/views/HomeView.vue

@@ -293,6 +293,7 @@ export default {
     initMenu(menus) {
     initMenu(menus) {
       if (menus) {
       if (menus) {
         this.menus = menus;
         this.menus = menus;
+        this.getSourcesData();
       }
       }
     },
     },
     navSelect: function (data) {
     navSelect: function (data) {
@@ -444,7 +445,6 @@ export default {
         label: street[key]
         label: street[key]
       });
       });
     }
     }
-    this.getSourcesData();
   }
   }
 };
 };
 </script>
 </script>