ant-design / ant-design/pro-components

🐛[BUG]使用ProTable时提示TypeError: (0 , import_useLazyKVMap.default) is not a function

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

Description

### 🐛 bug 描述

package.json

```json
"dependencies": {
"@ant-design/icons": "^5.6.1",
"@ant-design/pro-components": "3.0.1-0",
"@reduxjs/toolkit": "^2.8.2",
"@project/commons": "workspace:*",
"antd": "^5.27.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-redux": "^9.2.0",
"react-router": "^7.8.2"
},
"devDependencies": {
"@eslint/js": "^9.34.0",
"@types/react": "^18.3.24",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react": "^5.0.1",
"eslint": "^9.34.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"typescript": "~5.8.3",
"typescript-eslint": "^8.41.0",
"vite": "^7.1.3"
}
```

### 📷 复现步骤

```

```

### 🏞 期望结果

### 💻 复现代码

### © 版本信息

- ProComponents 版本:3.0.1-0
- umi版本:未使用umi,vite7,react-router7
- 浏览器环境 Chrome
- 开发环境 macOS

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ProTable example with the listed React, Vite, and @ant-design/pro-components versions, then trace the import_useLazyKVMap.default error from ProTable. Compare the package's generated imports and exports around useLazyKVMap, and verify that the minimal example renders without the TypeError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.