处理地址不为空问题

This commit is contained in:
java110 2020-06-01 10:32:56 +08:00
parent 5116ca4d9a
commit e1dce89421

View File

@ -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',