Replies: 5 comments
-
@vonser Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem. |
Beta Was this translation helpful? Give feedback.
-
Since the issue was labeled with |
Beta Was this translation helpful? Give feedback.
-
后来我们发现,在OnQueryAsync中如果调用Mapster做模型转换,就会产生这一现象。 如果您认为这并非当前代码库职责内的问题,可以关闭该Issue,谢谢。 |
Beta Was this translation helpful? Give feedback.
-
@vonser 有例子就好办了。我研究一下代码先,如果是组件 bug 我们修复一下,如果可以兼容我们也会尽量兼容一下,或者看看有什么解决方案,稍后再回复 |
Beta Was this translation helpful? Give feedback.
-
@vonser 找到问题了 解决方案如下,请点击下方 方案1增加
方案2增加组件参数
|
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Describe the bug
Table
开启IsMultipleSelect="true"
后,勾选多行记录,随后在当前页面触发了StateHasChanged(),勾选标记会消失,但SelectedRows
中仍保留了勾选过的记录,这导致工具栏按钮编辑
、删除
的样式状态和事件触发后操作的目标数据不符合预期。Expected Behavior
如果表格勾选项被取消或移除,
SelectedRows
内也应当移除与之相应的对象。Interactive render mode
Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)
Steps To Reproduce
Table
IsMultipleSelect="true"
Button
,设置点击事件执行StateHasChanged()
,模拟其他组件触发StateHasChanged()
StateHasChanged()
SelectedRows
中已勾选的对象仍存在SelectedRows
中会加入重复的对象Exceptions (if any)
No response
.NET Version
NET9.0
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions