@@ -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: '',
@@ -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',