소스 검색

Correct a small error

cyx 6 달 전
부모
커밋
00ae6a36f4
2개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 1
      TFPower-app/.eslintrc.json
  2. 3 3
      TFPower-app/src/app/tab1/tab1.page.html

+ 4 - 1
TFPower-app/.eslintrc.json

@@ -34,7 +34,10 @@
             "prefix": "app",
             "style": "camelCase"
           }
-        ]
+        ],
+        "no-empty-function": "off",
+        "@typescript-eslint/no-empty-function": "off",
+        "@angular-eslint/no-empty-lifecycle-method": "off"
       }
     },
     {

+ 3 - 3
TFPower-app/src/app/tab1/tab1.page.html

@@ -1,10 +1,10 @@
-<!-- <ion-header [translucent]="true">
+<ion-header [translucent]="true">
   <ion-toolbar>
     <ion-title>
       "Thirst for power"
     </ion-title>
   </ion-toolbar>
-</ion-header> -->
+</ion-header>
 
 <ion-content [fullscreen]="true">
   <ion-app>
@@ -95,7 +95,7 @@
                 </ion-col>
                 <ion-col>
                   <ion-card color="light" id="present-alert-fail"
-                    onclick="document.querySelector('#allChange').setAttribute('color', 'danger');badday++; duringday=0">
+                    onclick="document.querySelector('#allChange').setAttribute('color', 'danger');    badday++; duringday=0">
                     <ion-card-header>
                       <ion-card-title>眼神涣散</ion-card-title>
                       <!-- <ion-card-subtitle>Card Subtitle</ion-card-subtitle> -->