diff --git a/public/components/common/addCommunity/addCommunity.js b/public/components/common/addCommunity/addCommunity.js index aa25fe400..51d77b811 100644 --- a/public/components/common/addCommunity/addCommunity.js +++ b/public/components/common/addCommunity/addCommunity.js @@ -23,7 +23,7 @@ }, _initMethod: function () { vc.component._initArea('101', '0'); - + }, _initEvent: function () { vc.on('addCommunity', 'openAddCommunityModal', function () { @@ -145,12 +145,18 @@ vc.component.addCommunityInfo = { name: '', address: '', + tmpAddress: '', + areaAddress: '', nearbyLandmarks: '', - cityCode: '0971', + cityCode: '', mapX: '101.33', mapY: '101.33', attrs: [] }; + $that.selectProv = ''; + $that.selectCity = ''; + $that.selectArea = ''; + $that.allCity = []; }, getProv: function (_prov) { vc.component._initArea('202', _prov); diff --git a/public/components/dev/addMenuGroup/addMenuGroup.html b/public/components/dev/addMenuGroup/addMenuGroup.html index edd2b5c51..843f7d99c 100644 --- a/public/components/dev/addMenuGroup/addMenuGroup.html +++ b/public/components/dev/addMenuGroup/addMenuGroup.html @@ -52,7 +52,7 @@