diff --git a/package.json b/package.json index 5b55353a..b98dbfc6 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "i": "pnpm install", "dev": "vite --mode base", "ts:check": "vue-tsc --noEmit", - "build:pro": "vite build --mode pro", - "build:dev": "vite build --mode dev", - "build:test": "npm run ts:check && vite build --mode test", + "build:pro": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode pro", + "build:dev": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode dev", + "build:test": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode test", "serve:pro": "vite preview --mode pro", "serve:dev": "vite preview --mode dev", "serve:test": "vite preview --mode test", diff --git a/src/components/Search/src/Search.vue b/src/components/Search/src/Search.vue index ffff5681..a8ae601b 100644 --- a/src/components/Search/src/Search.vue +++ b/src/components/Search/src/Search.vue @@ -9,6 +9,8 @@ import { FormSchema } from '@/types/form' const { t } = useI18n() +const slots = useSlots() + const props = defineProps({ // 生成Form的布局结构数组 schema: { @@ -123,6 +125,7 @@ const setVisible = () => { +