|
|
@ -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<RouteRecordRaw[]>([ |
|
|
|
const authRoutes: Ref<RouteRecordRaw[]> = ref<RouteRecordRaw[]>([ |
|
|
|
{ |
|
|
|
path: '/home', |
|
|
|
name: 'home', |
|
|
|