mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-26 04:27:26 +08:00
docs(examples): standardize unified code format and fix some type (#16370)
* docs: standardize unified example code format and fix some example type * docs: update some example type * Update docs/examples/descriptions/sizes.vue Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com> * docs: update example-page-header * docs: update example-page-header --------- Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
This commit is contained in:
@ -18,8 +18,8 @@
|
||||
<el-descriptions-item label="Remarks">
|
||||
<el-tag size="small">School</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="Address"
|
||||
>No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province
|
||||
<el-descriptions-item label="Address">
|
||||
No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
|
||||
@ -36,16 +36,18 @@
|
||||
<el-descriptions-item label="Remarks">
|
||||
<el-tag size="small">School</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="Address"
|
||||
>No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province
|
||||
<el-descriptions-item label="Address">
|
||||
No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, ref } from 'vue'
|
||||
import type { ComponentSize } from 'element-plus'
|
||||
|
||||
const size = ref<ComponentSize>('default')
|
||||
|
||||
const size = ref('default')
|
||||
const blockMargin = computed(() => {
|
||||
const marginMap = {
|
||||
large: '32px',
|
||||
|
Reference in New Issue
Block a user