diff --git a/src/router/routes.ts b/src/router/routes.ts index 14cb441..dcf2a0b 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -14,10 +14,11 @@ import s_seal from 'assets/images/menuIcon/s-seal.svg' import s_setting from 'assets/images/menuIcon/s-setting.svg' import { useDeviceStore } from 'stores/deviceStore' import pinia from 'stores/index' +import type { Ref } from 'vue' import { ref, watchEffect } from 'vue' import type { RouteRecordRaw } from 'vue-router' -const authRoutes = ref([ +const authRoutes: Ref = ref([ { path: '/home', name: 'home',