diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 126feee2..61449145 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -10,6 +10,7 @@ - 修复 github 仓库体积过大问题. - 默认隐藏表格全屏按钮 - `crypto-es`改为`crypto-js`,减小打包体积 +- `types`目录移动到根目录,兼容其他目录全局类型 ### 🐛 Bug Fixes diff --git a/src/components/Container/src/collapse/CollapseContainer.vue b/src/components/Container/src/collapse/CollapseContainer.vue index e4ad88b5..136701e9 100644 --- a/src/components/Container/src/collapse/CollapseContainer.vue +++ b/src/components/Container/src/collapse/CollapseContainer.vue @@ -36,7 +36,7 @@ import CollapseHeader from './CollapseHeader.vue'; import LazyContainer from '../LazyContainer.vue'; - import { triggerWindowResize } from '/@/utils/event/triggerWindowResizeEvent'; + import { triggerWindowResize } from '/@/utils/event'; // hook import { useTimeoutFn } from '/@/hooks/core/useTimeout'; import { propTypes } from '/@/utils/propTypes'; diff --git a/src/components/Form/src/hooks/useForm.ts b/src/components/Form/src/hooks/useForm.ts index 88144b0f..4e592802 100644 --- a/src/components/Form/src/hooks/useForm.ts +++ b/src/components/Form/src/hooks/useForm.ts @@ -7,7 +7,7 @@ import { getDynamicProps } from '/@/utils'; import type { FormProps, FormActionType, UseFormReturnType, FormSchema } from '../types/form'; import type { NamePath } from 'ant-design-vue/lib/form/interface'; -import type { DynamicProps } from '/@/types/utils'; +import type { DynamicProps } from '/#/utils'; export declare type ValidateFields = (nameList?: NamePath[]) => Promise; diff --git a/src/components/Scrollbar/src/index.vue b/src/components/Scrollbar/src/index.vue index fee65ee5..8fd3920a 100644 --- a/src/components/Scrollbar/src/index.vue +++ b/src/components/Scrollbar/src/index.vue @@ -17,7 +17,7 @@