disabledTip属性应用在批量操作按钮上时会出现问题
Open
need confirm
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述问题:
想要实现的功能为:当父表中状态为1时禁用按钮并给出提示。如父表中的状态为0,这时是允许操作按钮的且不该对按钮做出禁用提示,但是当使用批量操作按钮时,如果不勾选数据,批量操作按钮的状态也是disabled,也会显示设置好的disabledTip。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the behavior with a parent table whose status is 0, using disabledTip on a batch-operation button with no selected rows. Compare the button's disabled state and displayed tip with the same configuration after selecting rows. Done means an unselected batch button does not show the configured disabledTip when the parent condition does not require disabling it.
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
- Needs clarification
- Newbie friendliness
- 35/100