Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在列少情况下 网格列对不齐 #4

Closed
hwd9061 opened this issue Apr 23, 2023 · 5 comments
Closed

在列少情况下 网格列对不齐 #4

hwd9061 opened this issue Apr 23, 2023 · 5 comments

Comments

@hwd9061
Copy link

hwd9061 commented Apr 23, 2023

在列少情况下。没有X滚动条。列就会对不齐

columns: [
{
title: '#',
index: true,
width:60,
},
{
title:'唯一码',
align:"center",
dataIndex: 'prodUnicode',
width:280,
scopedSlots: {
filterDropdown: 'filterProdUnicode'
},
},
{
title:'数量',
align:"center",
width:60,
dataIndex: 'qty'
},
{
title:'sku代码',
align:"center",
width:200,
dataIndex: 'skuCode'
},
{
title:'商品代码',
align:"center",
width:100,
dataIndex: 'prodCode'
},
{
title:'款号',
align:"center",
width:100,
dataIndex: 'prodModel'
},
{
title:'名称',
align:"center",
width:150,
dataIndex: 'prodName'
},
{
title:'属性',
align:"center",
width:250,
dataIndex: 'skuValues'
},

      {
        title: '操作',
        align:"center",
        fixed:"right",
        width:60,
        scopedSlots: { customRender: 'action' },
      }
    ]
@xiaocheng555
Copy link
Owner

在列少情况下。没有X滚动条。列就会对不齐

columns: [ { title: '#', index: true, width:60, }, { title:'唯一码', align:"center", dataIndex: 'prodUnicode', width:280, scopedSlots: { filterDropdown: 'filterProdUnicode' }, }, { title:'数量', align:"center", width:60, dataIndex: 'qty' }, { title:'sku代码', align:"center", width:200, dataIndex: 'skuCode' }, { title:'商品代码', align:"center", width:100, dataIndex: 'prodCode' }, { title:'款号', align:"center", width:100, dataIndex: 'prodModel' }, { title:'名称', align:"center", width:150, dataIndex: 'prodName' }, { title:'属性', align:"center", width:250, dataIndex: 'skuValues' },

      {
        title: '操作',
        align:"center",
        fixed:"right",
        width:60,
        scopedSlots: { customRender: 'action' },
      }
    ]

有图吗

@hwd9061
Copy link
Author

hwd9061 commented Apr 23, 2023 via email

@hwd9061
Copy link
Author

hwd9061 commented Apr 23, 2023 via email

@xiaocheng555
Copy link
Owner

设置x='1300' 数字变成字符串就相当于没有设置x,x不支持字符串,在没有x轴滚动时就可以不用设置x值了。
这个问题刚修复了,版本是1.0.8,你也可以升级一下试试

设置x='1300' 数字变成字符串就相当于没有设置x,x不支持字符串,在没有x轴滚动时就可以不用设置x值了。
这个问题刚修复了,版本是1.0.8,你也可以升级一下试试

@hwd9061
Copy link
Author

hwd9061 commented Apr 23, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants