From 47b65eae00897a353ea65d83ebdadce82a7b2ad2 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Fri, 15 Sep 2023 10:20:31 +0800
Subject: [PATCH] 俩种直播 英文改中文

---
 src/router/index.ts |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index 7db93c4..389fd64 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,4 +1,4 @@
-import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
+import { createRouter, createWebHistory, RouteRecordRaw, createWebHashHistory } from 'vue-router'
 import { ERouterName } from '/@/types/index'
 import CreatePlan from '/@/components/task/CreatePlan.vue'
 import WaylinePanel from '/@/pages/page-web/projects/wayline.vue'
@@ -9,9 +9,9 @@
 const routes: Array<RouteRecordRaw> = [
   {
     path: '/',
-    redirect: '/' + ERouterName.LOGIN
+    redirect: '/' + ERouterName.PROJECT_LIST
   },
-  // 首页 登陆页面
+  // // 首页 登陆页面
   {
     path: '/' + ERouterName.LOGIN,
     name: ERouterName.LOGIN,
@@ -158,7 +158,7 @@
 ]
 
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  history: createWebHashHistory(import.meta.env.BASE_URL),
   routes
 })
 

--
Gitblit v1.9.3