浏览代码

指挥中心初始化调用

Shannon_mu 3 年之前
父节点
当前提交
6d852845ad
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      commandCenter/src/views/financialAnalysis/smallModuleIndex/allcommunit.js

+ 3 - 1
commandCenter/src/views/financialAnalysis/smallModuleIndex/allcommunit.js

@@ -27,6 +27,8 @@ export default {
   },
   created() {
     this.mixins_query.communityId = this.homeCommunityAll;
-    // this.getData();
+    if (!!this.mixins_query.communityId) {
+      this.getData();
+    }
   }
 }