ant-design / ant-design/pro-components

🐛 [BUG] tip属性不存在ProColumns<API.RuleListItem>

Open
#9,617 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🐛 bug 描述

tip 不存在 `ProColumns`,运行没有问题也能显示,但是会有类型存在问题。

![image](https://github.com/user-attachments/assets/7892b2f4-fccb-4e7f-846d-87b79c45f4cf)

### 📷 复现步骤 | Recurrence steps

### 🏞 期望结果 | Expected results

将其改成 `tooltip`即可

### 💻 复现代码 | Recurrence code

### © 版本信息

- Ant Design Pro 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Find the ProColumns type definition and inspect how its tip property is declared. Replace the invalid property with tooltip, then run the relevant TypeScript checks to confirm the type error is gone while the component still displays correctly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.