From 73229626cfacb414c6dc8fdc0a670a5db3225c7b Mon Sep 17 00:00:00 2001 From: chenhaizhao <2291973799@qq.com> Date: Mon, 26 Jan 2026 15:54:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 8 +++- src/views/login/index.vue | 84 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 87 insertions(+), 5 deletions(-) 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