diff --git a/public/components/common/addCommunity/addCommunity.js b/public/components/common/addCommunity/addCommunity.js index e573c43df..0e4dea45a 100644 --- a/public/components/common/addCommunity/addCommunity.js +++ b/public/components/common/addCommunity/addCommunity.js @@ -96,17 +96,14 @@ }); }, saveCommunityInfo: function () { + //vc.component.addCommunityInfo.communityId = vc.getCurrentCommunity().communityId; + vc.component.addCommunityInfo.address = vc.component.addCommunityInfo.areaAddress+ vc.component.addCommunityInfo.tmpAddress; if (!vc.component.addCommunityValidate()) { vc.toast(vc.validate.errInfo); return; } - //vc.component.addCommunityInfo.communityId = vc.getCurrentCommunity().communityId; - - vc.component.addCommunityInfo.address = vc.component.addCommunityInfo.areaAddress+ vc.component.addCommunityInfo.tmpAddress; - - vc.http.post( 'addCommunity', 'save',