From 0e35f7cdaecc1c05f6a28784c2d66ce623ff77f1 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 09 十月 2024 10:23:05 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit
---
screen/src/router/index.js | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/screen/src/router/index.js b/screen/src/router/index.js
index 7838111..b25624f 100644
--- a/screen/src/router/index.js
+++ b/screen/src/router/index.js
@@ -1,14 +1,17 @@
import { createRouter, createWebHashHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-import EnergyConsum from '../views/EnergyConsum.vue'
+import HomeView from '../views/PlatformCall.vue'
const router = createRouter({
- history: createWebHashHistory(import.meta.env.BASE_URL),
+ history: createWebHashHistory(),
routes: [
{
path: '/',
- name: 'home',
- component: HomeView
+ component: () => import('../views/PlatformCall.vue')
+ },
+ {
+ path: '/PlatformCall',
+ name: 'PlatformCall',
+ component: () => import('../views/PlatformCall.vue')
},
{
path: '/EnergyConsum',
--
Gitblit v1.9.3