diff --git a/src/app/pages/home/home.component.ts b/src/app/pages/home/home.component.ts index 50437b5..f921a0f 100644 --- a/src/app/pages/home/home.component.ts +++ b/src/app/pages/home/home.component.ts @@ -889,7 +889,7 @@ export class HomeComponent implements OnInit { //初始化地图 - adcode:any = 310000 //行政编码 + adcode:any = 130200 //行政编码 mapInit () { //创建地图 this.map = new AMap.Map('chartMap', { @@ -1029,7 +1029,7 @@ export class HomeComponent implements OnInit { districtExplorer.on('outsideClick', (e) => { // console.log('区域外点击'); this.chartsSetOption('','province') - adcode = 310000 + adcode = 130200 districtExplorer.loadAreaNode(adcode, (error, areaNode)=> { //更新地图视野 // this.map.setBounds(areaNode.getBounds(), null, null, true); diff --git a/src/app/pages/login/login.component.ts b/src/app/pages/login/login.component.ts index 050fdc0..d2c3336 100644 --- a/src/app/pages/login/login.component.ts +++ b/src/app/pages/login/login.component.ts @@ -74,10 +74,10 @@ export class LoginComponent implements OnInit { dialogRef.afterClosed().subscribe((data) => { sessionStorage.setItem('isDefaultPassword', 'false') - this.lookUpdateData() + // this.lookUpdateData() }); } else { - this.lookUpdateData() + // this.lookUpdateData() } } diff --git a/src/app/tabbar/tabbar.component.html b/src/app/tabbar/tabbar.component.html index cdbb933..ca0ac7a 100644 --- a/src/app/tabbar/tabbar.component.html +++ b/src/app/tabbar/tabbar.component.html @@ -230,30 +230,12 @@ help - + - - - - +