From eeef5d4039d2b3fee6854ddc2789aa23232b2cfb Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期三, 27 九月 2023 17:24:10 +0800
Subject: [PATCH] 登陆页换了背景,加了风险排名

---
 src/router/index.js |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.js
similarity index 92%
rename from src/router/index.ts
rename to src/router/index.js
index bd9240a..74978ca 100644
--- a/src/router/index.ts
+++ b/src/router/index.js
@@ -1,16 +1,16 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import { createRouter, createWebHashHistory  } from 'vue-router'
 
 
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  history: createWebHashHistory(),
   routes: [
     {
       path: '/layout',
       name: 'home',
       meta: { title: '棣栭〉' },
       component: () => import('@/components/layout/AppLayout.vue'),
-      children: [
-       
+      children: 
+            [
             // 鏁版嵁鍒嗛櫓妯″瀷
             {
               path: "/avgDay",
@@ -30,7 +30,7 @@
             {
               path: "/riskrank",
               name: 'riskrank',
-              meta: { title: '鏁版嵁椋庨櫓鎺掑悕' },
+              meta: { title: '缁煎悎椋庨櫓鎺掑悕' },
               component: () => import('@/views/line_graph/SiteComprehensiveRskRanking.vue')
             },
        
@@ -80,9 +80,10 @@
               meta: { title: '鏁版嵁鎺ュ叆閰嶇疆' },
               component: () => import('@/views/setting/SetConfiguration.vue')
             },
-        
-      ],
+          ],
     },
+
+
     // 鐧婚檰椤甸潰
     {
       path: "/login",

--
Gitblit v1.9.3