baidu / baidu/amis

rowClassNameExpr 在hasNext配置下,有时候不生效

Open
#2,015 0 comments 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:
rowClassNameExpr 在hasNext配置下,有时候不生效(翻页后classname是上一页的)

#### 截图或视频:
![image](https://user-images.githubusercontent.com/6622122/119456382-339dda00-bd6d-11eb-8530-29cefd76dd19.png)

#### 如何复现(请务必完整填写下面内容):
配置crud组件,使用hasNext模式,点击下一页

3. 操作步骤
点击翻页
TableBody 组件没有更新 ,里面的tableRow组件更新了,rowClassNameExpr 没更新

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in a CRUD component using hasNext pagination and clicking the next-page control. Inspect the TableBody and tableRow components mentioned in the report, then verify that rowClassNameExpr is refreshed after pagination and that the displayed row classes match the new page.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.