flowaaa 1 рік тому
батько
коміт
7c20dddb8a

+ 1 - 1
app-angular/src/modules/user/guard-auth/auth.guard.ts

@@ -7,7 +7,7 @@ export const authGuard: CanActivateFn = (route, state) => {
   if (userAuth?.id) {
     return true;
   } else {
-    // 暂时存储登前用户所在页面
+    // 暂时存储登前用户所在页面
     let REDIRECT_URL = location.pathname;
     localStorage.setItem("REDIRECT_URL", REDIRECT_URL);
     if (location.pathname?.startsWith("/s0210402")) {

+ 1 - 1
app-angular/src/modules/user/page-login/page-login.component.html

@@ -12,7 +12,7 @@
         <ion-card>
             <ion-card-header>
                 <ion-card-title>登录</ion-card-title>
-                <ion-card-subtitle>该页面需登可继续使用</ion-card-subtitle>
+                <ion-card-subtitle>该页面需登可继续使用</ion-card-subtitle>
             </ion-card-header>
 
             <ion-card-content>

+ 1 - 1
app-angular/src/modules/user/page-login/page-login.component.ts

@@ -46,7 +46,7 @@ export class PageLoginComponent {
   }
   async alertError(err: string | undefined) {
     const alert = await this.alertCtrl.create({
-      header: '登失败',
+      header: '登失败',
       subHeader: '请检查用户名密码',
       message: err,
       buttons: ['好的'],