mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 06:09:11 +08:00
处理地址不为空问题
This commit is contained in:
parent
5116ca4d9a
commit
e1dce89421
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user