refactor: search

This commit is contained in:
qier222 2021-01-31 00:51:32 +08:00
parent 2393b10fe5
commit 6a64e73a2c
10 changed files with 565 additions and 370 deletions

View file

@ -71,9 +71,17 @@ const routes = [
},
},
{
path: "/search",
path: "/search/:keywords?",
name: "search",
component: () => import("@/views/search.vue"),
meta: {
keepAlive: true,
},
},
{
path: "/search/:keywords/:type",
name: "searchType",
component: () => import("@/views/searchType.vue"),
},
{
path: "/new-album",