Browse Source

遥控器登录页更改

李富豪 1 year ago
parent
commit
b495b962dc
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Web/src/pages/page-pilot/pilot-index.vue
  2. 1 1
      Web/src/types/enums.ts

+ 1 - 1
Web/src/pages/page-pilot/pilot-index.vue

@@ -38,7 +38,7 @@ import { EComponentName, ELocalStorageKey, ERouterName, EUserType } from '/@/typ
 import { UserOutlined, LockOutlined } from '@ant-design/icons-vue'
 import jkecLogo from '/@/assets/icons/jkec_logo.png'
 
-const root = getRoot()
+const root: any = getRoot()
 
 const formState: UnwrapRef<LoginBody> = reactive({
   username: '',

+ 1 - 1
Web/src/types/enums.ts

@@ -19,7 +19,7 @@ export enum ERouterName {
     FIRMWARES = 'firmwares',
     FLIGHT_AREA = 'flight-area',
 
-    PILOT = 'pilot-login',
+    PILOT = 'pilotLogin',
     PILOT_HOME = 'pilot-home',
     PILOT_MEDIA = 'pilot-media',
     PILOT_LIVESHARE = 'pilot-liveshare',