mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
543 B
543 B
基础用法
<n-descriptions label-placement="top" title="描述">
<n-descriptions-item>
<template v-slot:label>
早餐
</template>
苹果
</n-descriptions-item>
<n-descriptions-item label="早午餐">
苹果
</n-descriptions-item>
<n-descriptions-item label="午餐">
苹果
</n-descriptions-item>
<n-descriptions-item label="晚餐" :span="2">
两个<br>
苹果
</n-descriptions-item>
<n-descriptions-item label="夜宵">
苹果
</n-descriptions-item>
</n-descriptions>