diff --git a/apps/web-antd/src/components/description/src/description.vue b/apps/web-antd/src/components/description/src/description.vue index 2398f35b..47adeb83 100644 --- a/apps/web-antd/src/components/description/src/description.vue +++ b/apps/web-antd/src/components/description/src/description.vue @@ -34,6 +34,9 @@ const props = { useCollapse: { default: true, type: Boolean }, }; +/** + * @deprecated 使用antd原生组件替代 下个版本将会移除 + */ export default defineComponent({ emits: ['register'], // eslint-disable-next-line vue/order-in-components diff --git a/apps/web-antd/src/components/description/src/useDescription.ts b/apps/web-antd/src/components/description/src/useDescription.ts index 477756b7..6c5584a7 100644 --- a/apps/web-antd/src/components/description/src/useDescription.ts +++ b/apps/web-antd/src/components/description/src/useDescription.ts @@ -6,6 +6,9 @@ import type { import { getCurrentInstance, ref, unref } from 'vue'; +/** + * @deprecated 使用antd原生组件替代 下个版本将会移除 + */ export function useDescription( props?: Partial, ): UseDescReturnType {