在el-descriptions-item上添加label-class-name=“className” css中使用自定义的class名设置样式(不能用<style scoped>包裹) 如 <style lang="scss" scoped>.detail-label{width: 100px;}</style> 改成 <style lang="scss">.detail-label{width: 100px;}</style> 就生效了...
descriptions-item label-class-name="labelColor" content-class-name="my-content" label="胆包号" :span="2">车辆号 </el-descriptions-item> <el-descriptions-item label-class-name="labelColor" content-class-name="my-content" label="胆包号" :span="2">车辆号 </el-descriptions-item> <...
1.使用slot="label",有效 2.使用#label,无效 What is Expected? 支持#label support What is actually happening? 不支持 dosen't support
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...
可以在item后加中括号。根据查阅的百科资料得知,description指的是环境本来的含义是用于对某些名词的解释,想要descriptionitem不显示label,只要在item后加中括号,改变label即可。label:名词为标签,签条,标记的意思。动词为贴标签于…,把…称为,把…列为的意思。
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 ...