fix
This commit is contained in:
@@ -12,12 +12,13 @@ import { Camera } from '@ionic-native/camera/ngx';
|
||||
import { IonicStorageModule } from '@ionic/storage';
|
||||
|
||||
import { HttpModule } from '@angular/http';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [AppComponent],
|
||||
entryComponents: [],
|
||||
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule,HttpModule,
|
||||
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule,HttpModule,HttpClientModule,
|
||||
IonicStorageModule.forRoot()
|
||||
],
|
||||
providers: [
|
||||
|
||||
@@ -14,6 +14,8 @@ export class Tab1Page {
|
||||
constructor (public UserS :UserService){
|
||||
|
||||
}
|
||||
|
||||
|
||||
goConnect(){
|
||||
this.UserS.connectUser();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user