-
Notifications
You must be signed in to change notification settings - Fork 5
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
Comments
有图吗 |
------------------ 原始邮件 ------------------
发件人: "xiaocheng555/a-virtual-table" ***@***.***>;
发送时间: 2023年4月23日(星期天) 中午11:20
***@***.***>;
***@***.******@***.***>;
主题: Re: [xiaocheng555/a-virtual-table] 在列少情况下 网格列对不齐 (Issue #4)
在列少情况下。没有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' }, } ]
有图吗
—
无数据情况
有数据情况
我的网格设置
在宽度小 或者列宽或者数量 大于我显示区域宽度时候 有滚动条就不会有问题。
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
------------------ 原始邮件 ------------------
发件人: "xiaocheng555/a-virtual-table" ***@***.***>;
发送时间: 2023年4月23日(星期天) 中午11:20
***@***.***>;
***@***.******@***.***>;
主题: Re: [xiaocheng555/a-virtual-table] 在列少情况下 网格列对不齐 (Issue #4)
在列少情况下。没有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' }, } ]
有图吗
—
但是我刚已经找到解决方案了。 改了一下 x='1300' 数字变成字符串 就解决了 。但是完全无法理解 其他暂时没问题了
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
设置x='1300' 数字变成字符串就相当于没有设置x,x不支持字符串,在没有x轴滚动时就可以不用设置x值了。 |
好的 我试下
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年4月23日(星期天) 中午12:03
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [xiaocheng555/a-virtual-table] 在列少情况下 网格列对不齐 (Issue #4)
设置x='1300' 数字变成字符串就相当于没有设置x,x不支持字符串,在没有x轴滚动时就可以不用设置x值了。
这个问题刚修复了,版本是1.0.8,你也可以升级一下试试
设置x='1300' 数字变成字符串就相当于没有设置x,x不支持字符串,在没有x轴滚动时就可以不用设置x值了。
这个问题刚修复了,版本是1.0.8,你也可以升级一下试试
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
在列少情况下。没有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'
},
The text was updated successfully, but these errors were encountered: