mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-06-28 19:37:30 +08:00
修改动画, 修改搜索
This commit is contained in:
+7
-7
@@ -1,6 +1,6 @@
|
||||
import { createRouter, createWebHistory } from "vue-router";
|
||||
import AppLayout from "@/layout/AppLayout.vue";
|
||||
import homeRouter from "@/router/home";
|
||||
import { createRouter, createWebHistory, createMemoryHistory } from "vue-router"
|
||||
import AppLayout from "@/layout/AppLayout.vue"
|
||||
import homeRouter from "@/router/home"
|
||||
|
||||
let loginRouter = {
|
||||
path: "/login",
|
||||
@@ -11,7 +11,7 @@ let loginRouter = {
|
||||
icon: "icon-Home",
|
||||
},
|
||||
component: () => import("@/views/login/index.vue"),
|
||||
};
|
||||
}
|
||||
|
||||
const routes = [
|
||||
{
|
||||
@@ -19,9 +19,9 @@ const routes = [
|
||||
component: AppLayout,
|
||||
children: [...homeRouter, loginRouter],
|
||||
},
|
||||
];
|
||||
]
|
||||
|
||||
export default createRouter({
|
||||
routes: routes,
|
||||
history: createWebHistory(),
|
||||
});
|
||||
history: createMemoryHistory(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user