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

@@ -19,7 +19,7 @@ withDefaults(
},
);
const [Description] = useDescription({
const [Descriptions] = useDescription({
componentProps: {
bordered: false,
class: 'mx-4',
@@ -72,7 +72,7 @@ const [Description] = useDescription({
<template #extra>
<slot name="extra"></slot>
</template>
<Description
<Descriptions
:column="mode === 'member' ? 2 : 1"
:data="{
...user,

View File

@@ -18,7 +18,7 @@ withDefaults(
},
);
const [Description] = useDescription({
const [Descriptions] = useDescription({
componentProps: {
bordered: false,
class: 'mx-4',
@@ -85,12 +85,12 @@ const [Description] = useDescription({
<Avatar :size="140" shape="square" :src="user.avatar" />
</Col>
<Col :span="20">
<Description :column="2" :data="user" />
<Descriptions :column="2" :data="user" />
</Col>
</Row>
<template v-else-if="mode === 'kefu'">
<Avatar :size="140" shape="square" :src="user.avatar" />
<Description :column="1" :data="user" />
<Descriptions :column="1" :data="user" />
</template>
</Card>
</template>