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

[Bug] updateColumns方法报错 #1015

Closed
user920123 opened this issue Jan 26, 2024 · 3 comments · Fixed by #1026
Closed

[Bug] updateColumns方法报错 #1015

user920123 opened this issue Jan 26, 2024 · 3 comments · Fixed by #1026
Assignees
Labels
bug Something isn't working

Comments

@user920123
Copy link

Version

0.18.3

Link to Minimal Reproduction

instance.updateColumns(columns.value)

Steps to Reproduce

1.创建50列,widthMode设置为autoWidth
2.将横向滚动条拖到最后的位置
3.增加或者减少列数后,使用updateColumns方法更新表格,表格渲染不全,并出现报错
4. 使用setScrollLeft将滚动条恢复到最左侧 再调用updateColumns方法更新表格, 就不会出现报错

Current Behavior

updateColumns方法无法正确更新
Snipaste_2024-01-26_17-18-31

Expected Behavior

updateColumns方法可以正确增加减少列数,是否可以提供增加、删除列的方法

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@user920123 user920123 added the bug Something isn't working label Jan 26, 2024
@fangsmile
Copy link
Contributor

收到 我们尽快修复

@fangsmile
Copy link
Contributor

可以给下具体示例数据吗 我这边没有复现到。或者你升级到最新版本试一下?

@fangsmile fangsmile self-assigned this Jan 26, 2024
@user920123
Copy link
Author

可以给下具体示例数据吗 我这边没有复现到。或者你升级到最新版本试一下?

https://github.com/user920123/vtable-/blob/main/index2.vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants