Skip to content

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

@midsmr

Description

@midsmr

🐛 bug 描述

package.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"
  }

📷 复现步骤

<ProTable
      rowKey="id"
      columns={[
        {
          title: 'ID',
          dataIndex: 'id',
          key: 'id',
          width: 80,
        },
      ]}
      dataSource={[
        {
          id: 1,
          name: 'test',
        },
      ]}
    />

🏞 期望结果

💻 复现代码

© 版本信息

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

🚑 其他信息

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⭕️ bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions