ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.13k stars 14.64k forks source link

[Bug Report] table-column type="expand" and table :tree-props 冲突 #18607

Closed gMan1990 closed 2 years ago

gMan1990 commented 4 years ago

Element UI version

2.13.0

OS/Browsers version

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36

Vue version

2.6.11

Steps to reproduce

同时使用<el-table-column type="expand"><el-table :tree-props="...">

What is actually happening?

children行type="expand"行为丢失


Q2: how to remove the header checkbox if column type=selection

xuefei007 commented 4 years ago

我也遇到了这个问题,请问你后面怎么解决的

gMan1990 commented 4 years ago

@xuefei007 换框架 或 不使用 或 等修复 比如iviewui是使用>+区分它们两个的


不过iviewui的写法真是醉了, https://www.iviewui.com/docs/guide/start

在非 template/render 模式下(例如使用 CDN 引用时),组件名要分隔,例如 DatePicker 必须要写成 date-picker。 以下组件,在非 template/render 模式下,需要加前缀 i-:... 以下组件,在所有模式下,必须加前缀 i-,除非使用 iview-loader:...

比如"在非 template/render 模式下",加前缀是吧i-,那就加咯,但为了统一,我想所有组件都加,但是不行的,不能识别的,比如 <i-date-picker

xhwgood commented 4 years ago

醉了,46k star的项目咋这个需求都没搞好

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.