Skip to content

🧐[问题] locale 默认应该是英文吧,看了下 antd 源码也是默认英文 locale 的 #8959

Open
@yunsii

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🧐 问题描述

默认英文的话保持跟 antd 一致的逻辑同时也避免了代码中耦合中文字符

💻 示例代码

const placeholderValue = fieldProps?.placeholder ||
placeholder || [
intl.getMessage('tableForm.inputPlaceholder', '请输入'),
intl.getMessage('tableForm.inputPlaceholder', '请输入'),
];

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions