Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

🐛[BUG] valueType 为 money的时候 表格无法显示货币符号,编辑时为undefined #740

Open
ylw1997 opened this issue Apr 22, 2021 · 0 comments

Comments

@ylw1997
Copy link

ylw1997 commented Apr 22, 2021

🐛 bug 描述

valueType 为 money的时候 表格无法显示货币符号,编辑时为undefined

📷 复现步骤

显示的时候:
image
编辑的时候:
image

值得一提的是:protable官方示例也为undefined
image

🏞 期望结果

正常显示货币符号

💻 复现代码

const columns: ProColumns<any>[] = [
    {
      dataIndex: 'productPrice',
      title: '购买价格',
      valueType: 'money',
    },
    {
      dataIndex: 'productDenomination',
      title: '面额',
      valueType: 'money',
    }]

© 版本信息

  • Ant Design Pro 版本: 4.15.2
  • umi 版本 : 3.4.11
  • 浏览器环境 chrome
  • 开发环境 windows 10

🚑 其他信息

依赖:

"@ant-design/icons": "^4.6.2",
    "@ant-design/pro-form": "^1.21.4",
    "@ant-design/pro-layout": "^6.16.6",
    "@ant-design/pro-table": "^2.34.4",
    "@umijs/preset-react": "1.8.6",
    "antd": "^4.15.2",
    "moment": "^2.29.1",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "redux-actions": "^2.6.5",
    "secure-ls": "^1.2.6",
    "umi": "^3.4.11"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant