VisActor / VisActor/VTable

[Bug] vue-table 使用updateFilterRules后,使用addRecords添加数据未修改原records

Open
#4,607 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

Version

1.22.0

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/vtable-list-table-forked-qv3kl7

Steps to Reproduce

操作案例上的按钮,则直接可发现此问题

Current Behavior

#3393 有相同情况,未处理此问题
1.使用updateFilterRules后
2.使用addRecords添加数据
3.再清除筛选方法的条件内容
4.获取records

Expected Behavior

使用updateFilterRules,addRecords添加数据后,清除筛选条件内容后,则能获取新的records内容

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodeSandbox reproduction and trace the vue-table flow using updateFilterRules, addRecords, and the filter-clearing action. Verify how records are returned after adding data, then confirm that clearing the filter exposes the newly added records as described in the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.