fix: 优化代码格式,合并类型声明
This commit is contained in:
@@ -9,7 +9,7 @@ const items = [
|
||||
];
|
||||
</script>
|
||||
<template>
|
||||
<div style="display: flex; flex-direction: column; gap: 16px">
|
||||
<div class="flex gap-4 flex-col">
|
||||
<VbenDescriptions
|
||||
size="small"
|
||||
bordered
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<script lang="ts" setup>
|
||||
import type { DescriptionsItemType } from '@vben/common-ui';
|
||||
|
||||
import { VbenDescriptions } from '@vben/common-ui';
|
||||
|
||||
const items = [
|
||||
const items: DescriptionsItemType[] = [
|
||||
{ content: '1', label: 'A' },
|
||||
{ content: '2(span: 2)', label: 'B', span: 2 },
|
||||
{ content: '3', label: 'C' },
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<script lang="ts" setup>
|
||||
import type { DescriptionsItemType } from '@vben/common-ui';
|
||||
|
||||
import { VbenDescriptions } from '@vben/common-ui';
|
||||
|
||||
const items = [
|
||||
const items: DescriptionsItemType[] = [
|
||||
{ content: 'Vben', label: '用户名' },
|
||||
{ content: '13800138000', label: '手机号' },
|
||||
{ content: '中国 · 杭州', label: '居住地' },
|
||||
|
||||
Reference in New Issue
Block a user