项目初始化
This commit is contained in:
parent
a1721150b6
commit
58be34738a
|
|
@ -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({
|
const router = createRouter({
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import { defineConfig, loadEnv } from 'vite'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
import createVitePlugins from './vite/plugins'
|
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/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig(({ mode, command }) => {
|
export default defineConfig(({ mode, command }) => {
|
||||||
|
|
@ -42,7 +42,7 @@ export default defineConfig(({ mode, command }) => {
|
||||||
},
|
},
|
||||||
// vite 相关配置
|
// vite 相关配置
|
||||||
server: {
|
server: {
|
||||||
port: 80,
|
port: 7788,
|
||||||
host: true,
|
host: true,
|
||||||
open: true,
|
open: true,
|
||||||
proxy: {
|
proxy: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue