<el-descriptions-item v-for="item in descItem" :label="item.label + ':'":width="item.width" :key="item.value"label-align="right" style="margin-right: 0;"> <span :style="item.style">{{ item.value }}</span> </el-descriptions-item> </el-descriptions> item内可以放置文本,这里为...
Steps to reproduce 1.使用slot="label",有效 2.使用#label,无效 What is Expected? 支持#label support What is actually happening? 不支持 dosen't support
可以在item后加中括号。根据查阅的百科资料得知,description指的是环境本来的含义是用于对某些名词的解释,想要descriptionitem不显示label,只要在item后加中括号,改变label即可。label:名词为标签,签条,标记的意思。动词为贴标签于…,把…称为,把…列为的意思。
label:"幼儿市登记编号"}, { prop:"childName", label:"幼儿姓名"}, { prop:"sex", label:"幼儿性别"}, { prop:"birthday", label:"幼儿出生日期"}, { prop:"householdImmigrationDate", label:"幼儿户籍迁入本市/招生范围日期"}, { prop:"isHQ", ...
Bug Type: Component Environment Vue Version: 3.3.4 Element Plus Version: 2.3.7 Browser / OS: Chrome/114.0.5735.199 Build Tool: Vite Reproduction Related Component el-descriptions-item Reproduction Link Element Plus Playground Steps to re...