Skip to content

Commit

Permalink
fix(lint): error from build cli prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
pengkobe committed Nov 12, 2018
1 parent f52e1b2 commit 4a30f5f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ion-toolbar> <ion-title>菜单</ion-title> </ion-toolbar>
</ion-header>
<ion-content>
<ion-list *ngIf="!loggedIn">
<ion-list>
<ion-list-header> 功能点 </ion-list-header>

<ion-menu-toggle auto-hide="false">
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/close-popup/close-popup.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<button ion-button icon-only clear tappable (tap)="close()" [color]="color">
<button ion-button icon-only clear tappable (tap)="close()">
<ion-icon name="md-close" [color]="color" [class.large]="large"></ion-icon>
</button>
2 changes: 2 additions & 0 deletions src/app/modals/qr-scanner/qr-scanner.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ import { RouterModule } from '@angular/router';
import { QRScannerModal } from './qr-scanner';
import { QRScanner } from '@ionic-native/qr-scanner/ngx';
import { ClosePopupComponentModule } from '@components/close-popup/close-popup.module';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

@NgModule({
declarations: [QRScannerModal],
imports: [
RouterModule.forChild([{ path: '', component: QRScannerModal }]),
ClosePopupComponentModule,
],
schemas:[CUSTOM_ELEMENTS_SCHEMA],
providers: [QRScanner],
})
export class QRScannerModalModule {}
2 changes: 1 addition & 1 deletion src/app/modals/qr-scanner/qr-scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class QRScannerModal {
this.events.publish('qrScanner:hide');
}

private dismiss(qrCode: object = null) {
public dismiss(qrCode: object = null) {
this.qrScanner.getStatus().then((status: QRScannerStatus) => {
if (status.showing) {
this.hideCamera();
Expand Down

0 comments on commit 4a30f5f

Please sign in to comment.