reactor:统一 Description 命名为 Descriptions
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user