From 58be34738a191b19e3598c460df1b6de7069ffb6 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Fri, 7 Nov 2025 09:42:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 28 ---------------------------- vite.config.js | 4 ++-- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 86cedb0..eafd8ea 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -130,34 +130,6 @@ export const dynamicRoutes = [ } ] }, - { - path: '/monitor/job-log', - component: Layout, - hidden: true, - permissions: ['monitor:job:list'], - children: [ - { - path: 'index/:jobId(\\d+)', - component: () => import('@/views/monitor/job/log'), - name: 'JobLog', - meta: { title: '调度日志', activeMenu: '/monitor/job' } - } - ] - }, - { - path: '/tool/gen-edit', - component: Layout, - hidden: true, - permissions: ['tool:gen:edit'], - children: [ - { - path: 'index/:tableId(\\d+)', - component: () => import('@/views/tool/gen/editTable'), - name: 'GenEdit', - meta: { title: '修改生成配置', activeMenu: '/tool/gen' } - } - ] - } ] const router = createRouter({ diff --git a/vite.config.js b/vite.config.js index 3ca6b6d..381d91b 100644 --- a/vite.config.js +++ b/vite.config.js @@ -2,7 +2,7 @@ import { defineConfig, loadEnv } from 'vite' import path from 'path' import createVitePlugins from './vite/plugins' -const baseUrl = 'http://192.168.2.24:8080' // 后端接口 +const baseUrl = 'http://192.168.2.25:8080' // 后端接口 // https://vitejs.dev/config/ export default defineConfig(({ mode, command }) => { @@ -42,7 +42,7 @@ export default defineConfig(({ mode, command }) => { }, // vite 相关配置 server: { - port: 80, + port: 7788, host: true, open: true, proxy: {