From 2d0520366daf28b158a45b98b0dec6c8326870f4 Mon Sep 17 00:00:00 2001
From: jiaosong <jiaosong6760@dingtalk.com>
Date: 星期三, 23 八月 2023 11:47:50 +0800
Subject: [PATCH] # 修改配置角色 报角色编码存在
---
screen_standard/src/router/index.js | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/screen_standard/src/router/index.js b/screen_standard/src/router/index.js
index e58491f..59ce881 100644
--- a/screen_standard/src/router/index.js
+++ b/screen_standard/src/router/index.js
@@ -1,13 +1,21 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
-
+import indexView from '../views/index.vue'
+import processView from '../views/process.vue'
+console.log(import.meta.env.VITE_BASE_CONTEXT);
const router = createRouter({
- history: createWebHistory(import.meta.env.BASE_URL),
+
+ history: createWebHistory(import.meta.env.VITE_BASE_CONTEXT),
routes: [
{
path: '/',
name: 'home',
- component: HomeView
+ component: indexView
+ },
+ {
+ path: '/process',
+ name: 'process',
+ component: processView
}
]
})
--
Gitblit v1.9.3