From 45091e34fb6e50ddac36d017947e2185619c641a Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 09 十月 2024 16:16:08 +0800
Subject: [PATCH] 代码初始化
---
screen/src/router/index.js | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/screen/src/router/index.js b/screen/src/router/index.js
index 40416e7..b25624f 100644
--- a/screen/src/router/index.js
+++ b/screen/src/router/index.js
@@ -1,18 +1,17 @@
import { createRouter, createWebHashHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
+import HomeView from '../views/PlatformCall.vue'
const router = createRouter({
- history: createWebHashHistory(import.meta.env.BASE_URL),
+ history: createWebHashHistory(),
routes: [
{
path: '/',
- // name: 'EnergyConsum',
- component: () => import('../views/EnergyConsum.vue')
+ component: () => import('../views/PlatformCall.vue')
},
{
- path: '/home',
- name: 'home',
- component: () => import('../views/HomeView.vue')
+ path: '/PlatformCall',
+ name: 'PlatformCall',
+ component: () => import('../views/PlatformCall.vue')
},
{
path: '/EnergyConsum',
--
Gitblit v1.9.3