vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜

Home Page:https://antdv.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

在特定情况下,table列的宽度设置无效

Alone-2 opened this issue · comments

commented
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.20

Environment

vue 3.3.13

Reproduction link

Edit on CodeSandbox

Steps to reproduce

在 table属性 scroll = "{
x: 'max-content',
y: 500,
}" 且 columns 其他列设置宽度,有一项没设置宽度时,空状态的tableheader会出现宽度平分情况(包括滚动列th),详见上面在线code链接

What is expected?

空状态的tableheader会出现宽度平分情况(包括滚动列th)
image

What is actually happening?

空状态的tableheader会出现宽度平分情况(包括滚动列th)