diff --git a/src/router/index.ts b/src/router/index.ts index a253819..261c2a1 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,4 +1,8 @@ -import { createMemoryHistory, createRouter } from "vue-router"; +import { + createRouter, + createWebHashHistory, + createWebHistory, +} from "vue-router"; import Layout from "@/Layout/index.vue"; import Login from "@/views/login/index.vue"; @@ -38,7 +42,7 @@ const routes = [ ]; const router = createRouter({ - history: createMemoryHistory(), + history: createWebHashHistory(), routes, }); diff --git a/src/views/login/index.vue b/src/views/login/index.vue index b50ccbf..eae6f82 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -1,5 +1,83 @@ - + - 登录页 + + + + 调压通后台管理系统 + + + + + + + + + 登录 + + + + + - \ No newline at end of file + \ No newline at end of file