update: useDescription deprecated
This commit is contained in:
parent
36683dd218
commit
f1c4ed1412
@ -34,6 +34,9 @@ const props = {
|
|||||||
useCollapse: { default: true, type: Boolean },
|
useCollapse: { default: true, type: Boolean },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated 使用antd原生组件替代 下个版本将会移除
|
||||||
|
*/
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
emits: ['register'],
|
emits: ['register'],
|
||||||
// eslint-disable-next-line vue/order-in-components
|
// eslint-disable-next-line vue/order-in-components
|
||||||
|
@ -6,6 +6,9 @@ import type {
|
|||||||
|
|
||||||
import { getCurrentInstance, ref, unref } from 'vue';
|
import { getCurrentInstance, ref, unref } from 'vue';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated 使用antd原生组件替代 下个版本将会移除
|
||||||
|
*/
|
||||||
export function useDescription(
|
export function useDescription(
|
||||||
props?: Partial<DescriptionProps>,
|
props?: Partial<DescriptionProps>,
|
||||||
): UseDescReturnType {
|
): UseDescReturnType {
|
||||||
|
Loading…
Reference in New Issue
Block a user