v-fit-columns icon indicating copy to clipboard operation
v-fit-columns copied to clipboard

Auto fit el-table-column with cell content.

Results 10 v-fit-columns issues
Sort by recently updated
recently updated
newest added

fixed的列会有问题,宽度计算失败

使用fix的时候fix区域的宽度没有根据内容宽度计算

细节: 1. 修改获取宽度的dom为cell的子元素 2. 子元素不换行,另外添加width:max-content,针对子元素使用flex布局 3. 增加指令fit-columns-some,用于只有个别列需要自动撑开的情况,对于要撑开的列添加class-name="fit-column"

在window电脑上大屏现在宽度会出问题。

当表格内容比较复杂存在button等其它内容时会出现BUG,望改进

如图所示: 同样的数据,计算出来高度不一样,页面第一次进来是201,点一下查询变139了,之后再点查询,就都是139了。 ![image](https://user-images.githubusercontent.com/24354441/93591377-d46c1680-f9e2-11ea-8697-678da016aac3.png) ![image](https://user-images.githubusercontent.com/24354441/93591368-d1712600-f9e2-11ea-9c37-c32f904d72d4.png)