diff --git a/backend/mini.db b/backend/mini.db index 75196f1..e2a2455 100644 Binary files a/backend/mini.db and b/backend/mini.db differ diff --git a/backend/mini.db-shm b/backend/mini.db-shm new file mode 100644 index 0000000..cd21bd9 Binary files /dev/null and b/backend/mini.db-shm differ diff --git a/backend/mini.db-wal b/backend/mini.db-wal new file mode 100644 index 0000000..2f38425 Binary files /dev/null and b/backend/mini.db-wal differ diff --git a/backend/tests/test_case.py b/backend/tests/test_case.py index bdd84e8..b676cb2 100644 --- a/backend/tests/test_case.py +++ b/backend/tests/test_case.py @@ -75,7 +75,7 @@ params = [ meta={"icon": "TeamOutlined"}, path="/system/user", type=1, - component="/system/user.vue", + component="/system/user/user.vue", pid=1, identifier=None, api="/user", @@ -89,7 +89,7 @@ params = [ meta={"icon": "UserOutlined"}, path="/system/role", type=1, - component="/system/role.vue", + component="/system/role/role.vue", pid=1, identifier=None, api="/role", @@ -103,7 +103,7 @@ params = [ meta={"icon": "MenuOutlined"}, path="/system/menu", type=1, - component="/system/menu.vue", + component="/system/menu/menu.vue", pid=1, identifier=None, api="/menu", @@ -117,7 +117,7 @@ params = [ meta={"icon": "DashboardOutlined"}, path="/setting/about", type=1, - component="/setting/about.vue", + component="/setting/about/about.vue", pid=2, identifier=None, api="/about", diff --git a/frontend/src/assets/img/fastapi.svg b/frontend/src/assets/img/fastapi.svg new file mode 100644 index 0000000..cf7c0c7 --- /dev/null +++ b/frontend/src/assets/img/fastapi.svg @@ -0,0 +1,39 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/frontend/src/assets/img/logo.png b/frontend/src/assets/img/logo.png deleted file mode 100644 index d22b489..0000000 Binary files a/frontend/src/assets/img/logo.png and /dev/null differ diff --git a/frontend/src/assets/img/vite.svg b/frontend/src/assets/img/vite.svg new file mode 100644 index 0000000..de4aedd --- /dev/null +++ b/frontend/src/assets/img/vite.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/frontend/src/components/layout/sider-menu.vue b/frontend/src/components/layout/sider-menu.vue index b0e0bf9..854e820 100644 --- a/frontend/src/components/layout/sider-menu.vue +++ b/frontend/src/components/layout/sider-menu.vue @@ -2,25 +2,32 @@ import { useRouter } from "vue-router"; import { userStore } from "@/stores/user"; import { loadIconCpn } from "@/utils/loadCpn"; +import { ref } from "vue"; const store = userStore(); +const router = useRouter(); + +// 菜单点击事件 +const menuClick = (menu) => { + router.push(menu.path); +};