添加一个退出桌面霸屏页面的功能。

This commit is contained in:
2023-03-22 17:07:33 +08:00
parent 0afa218810
commit a03da1bba9
8 changed files with 67 additions and 13 deletions

View File

@@ -3,9 +3,9 @@
* @Date: 2023-02-28 01:22:48
* @LastEditors: Kane
* @FilePath: /task_schedule/src/router/index.js
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
import { createRouter, createWebHashHistory } from "vue-router";
@@ -21,19 +21,19 @@ const routes = [
path: "/login",
name: "Login",
hidden: true,
component: () => import("@/views/Login.vue"),
component: async () => await import( "@/views/Login.vue" ),
},
{
path: "/public",
name: "Public",
hidden: true,
component: () => import("@/views/Public.vue"),
component: async () => await import( "@/views/Public.vue" ),
},
{
path: "/desktop_archievement",
name: "DesktopArchievement",
hidden: true,
component: () => import("@/views/DesktopArchievement.vue"),
component: async () => await import( "@/views/DesktopArchievement.vue" ),
},
];
@@ -44,10 +44,10 @@ const router = createRouter(
}
);
//路由守卫
// 路由守卫
// router.beforeEach((to) =>
// {
// });
export { router };
export { router };