reactor:统一 Description 命名为 Descriptions

This commit is contained in:
YunaiV
2025-09-10 23:58:31 +08:00
parent 5ec4d8ab82
commit e3e3c2e968
24 changed files with 72 additions and 72 deletions

View File

@@ -29,8 +29,8 @@ const Description = defineComponent({
},
setup(props: DescriptionsOptions) {
// TODO @puhui999:每个 field 的 slot 的考虑
// TODO @puhui999from 5.0extra: () => getSlot(slots, 'extra')
// TODO @xingyu:每个 field 的 slot 的考虑
// TODO @xingyufrom 5.0extra: () => getSlot(slots, 'extra')
/** 过滤掉不需要展示的 */
const shouldShowItem = (item: DescriptionItemSchema) => {
if (item.hidden === undefined) return true;
@@ -75,6 +75,6 @@ const Description = defineComponent({
},
});
// TODO @puhui999from 5.0emits: ['register'] 事件
// TODO @xingyufrom 5.0emits: ['register'] 事件
export default Description;
</script>