descriptions v-if="Object.keys(joinDetails).length>0" class="margin-top" :column="4" size="medium" border direction="horizontal" :key="index" v-for="(item,index) in joinDetails"> <el-descriptions-item label-class-name="labelColorOne" content-class-name="my-contentOne" label="线路" ...
[Bug Report] el-descriptions-item 不支持 #label 形式的具名插槽; el-descriptions-item dosen't support #label slot Element UI version 2.15.7 OS/Browsers version chrome Vue version 2.6.14 Reproduction Link https://codepen.io/JamesZhang/pen/jOGLJVL Steps to reproduce 1.使用slot="label",有效 2...
可以在item后加中括号。根据查阅的百科资料得知,description指的是环境本来的含义是用于对某些名词的解释,想要descriptionitem不显示label,只要在item后加中括号,改变label即可。label:名词为标签,签条,标记的意思。动词为贴标签于…,把…称为,把…列为的意思。
简介:解决el-descriptions的label-class-name不生效问题 在项目中要使element的Descriptions描述列表固定宽度 在el-descriptions-item上添加label-class-name=“className” css中使用自定义的class名设置样式(不能用<style scoped>包裹) 如 <style lang="scss" scoped>.detail-label{width: 100px;}</style> ...
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...
Existing Component Yes Component Name el-descriptions Description while using this new component, I noticed that the size or width of it's label is relative. this makes the whole description area ugly... I have to set it fixed myself. I ...