| | |
| | | import ExitFullscreen from "~icons/ri/fullscreen-exit-fill"; |
| | | import Fullscreen from "~icons/ri/fullscreen-fill"; |
| | | import { unref } from "vue"; |
| | | import { message } from "@/utils/message"; |
| | | |
| | | const errorInfo = |
| | | "The current routing configuration is incorrect, please check the configuration"; |
| | |
| | | : useUserStoreHook()?.nickname; |
| | | }); |
| | | |
| | | /** 角色 */ |
| | | /** 当前角色 */ |
| | | const userRoles = computed(() => { |
| | | return useUserStoreHook()?.nowRole; |
| | | }); |
| | |
| | | // 获取后端路由 |
| | | initRouter(); |
| | | onFresh(); |
| | | } else { |
| | | message(res?.message, { type: "warning" }); |
| | | } |
| | | }); |
| | | }; |