diff --git a/web/.gitignore b/web/.gitignore index 403adbc..c6c57be 100644 --- a/web/.gitignore +++ b/web/.gitignore @@ -1,7 +1,8 @@ .DS_Store node_modules /dist - +package-lock.json +yarn.lock # local env files .env.local diff --git a/web/src/views/system/menu/components/menuButton/crud.tsx b/web/src/views/system/menu/components/menuButton/crud.tsx index 3972766..59dad16 100644 --- a/web/src/views/system/menu/components/menuButton/crud.tsx +++ b/web/src/views/system/menu/components/menuButton/crud.tsx @@ -34,6 +34,16 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp }; return { crudOptions: { + search: { + container: { + action: { + //按钮栏配置 + col: { + span: 8 + } + } + }, + }, rowHandle: { //固定右侧 fixed: 'right', diff --git a/web/vite.config.ts b/web/vite.config.ts index 3a731aa..ab2a646 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -17,7 +17,7 @@ const alias: Record = { const viteConfig = defineConfig((mode: ConfigEnv) => { const env = loadEnv(mode.mode, process.cwd()); return { - plugins: [vue(), vueJsx(),vueSetupExtend()], + plugins: [vue(), vueJsx(), vueSetupExtend()], root: process.cwd(), resolve: { alias }, base: mode.command === 'serve' ? './' : env.VITE_PUBLIC_PATH, @@ -27,7 +27,7 @@ const viteConfig = defineConfig((mode: ConfigEnv) => { server: { host: '0.0.0.0', port: env.VITE_PORT as unknown as number, - open: env.VITE_OPEN, + open: true, hmr: true, proxy: { '/gitee': {