更新
This commit is contained in:
parent
7963ee48c7
commit
e78dd9a86b
@ -1,7 +1,7 @@
|
||||
// 全局不动配置项 只做导出不做修改
|
||||
|
||||
// 首页地址(默认)
|
||||
export const HOME_URL: string = "/index";
|
||||
export const HOME_URL: string = "/index/index";
|
||||
|
||||
// Tabs(黑名单地址,不需要添加到 tabs 的路由地址)
|
||||
export const TABS_BLACK_LIST: string[] = ["/404", "/500", "/login"];
|
||||
|
||||
@ -26,15 +26,16 @@ export default[
|
||||
name: 'index',
|
||||
icon: 'HomeFilled',
|
||||
meta: { title: "首页" },
|
||||
isShow: true,
|
||||
isShow: false,
|
||||
redirect: '/index/index',
|
||||
component: () => import("@/components/layout/Index.vue"),
|
||||
children: [
|
||||
{
|
||||
path: '/index',
|
||||
path: 'index',
|
||||
name: 'index',
|
||||
icon: 'HomeFilled',
|
||||
meta: { title: "首页" },
|
||||
isShow: true,
|
||||
isShow: false,
|
||||
component: () => import('@/views/Index.vue')
|
||||
}
|
||||
]
|
||||
|
||||
@ -21,7 +21,7 @@ export default defineConfig({
|
||||
server: {
|
||||
proxy: {
|
||||
'/tansci': {
|
||||
target: 'http://127.0.0.1:8000',
|
||||
target: 'http://127.0.0.1:7000',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {'^/tansci':'/tansci'}
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
server:
|
||||
port: 8000
|
||||
port: 7000
|
||||
servlet:
|
||||
context-path: /tansci
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user