-
Which class is this unit test associated with?第一步 点击 Table组件中 "操作" 按钮,之后再点击Tab选项卡,就不会再触发Table的OnQueryAsync方法 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
@zrj531 Thank you for submitting. We will give feedback later. |
Beta Was this translation helpful? Give feedback.
-
@zrj531 抱歉,实在看不懂。建议录制个视频,期望是什么,实际是什么,写清楚遇到的问题 |
Beta Was this translation helpful? Give feedback.
-
希望切换tab时,table每次都出发查询事件! |
Beta Was this translation helpful? Give feedback.
-
@zrj531 我们 Tab 有一个参数 |
Beta Was this translation helpful? Give feedback.
@zrj531
Tab
组件设计之初的目的是保持一个页面的状态,切换到第二个标签页后,第一个标签页的状态是保持的,第一个标签中的内容需要刷新时,应该是这个标签页的内容提供刷新机制。但是这个设计已经不能满足你的需求了。我们 Tab 有一个参数
IsOnlyRenderActiveTab
设置这个参数值true
就是你想要的功能了