$ cnpm install umi-uni18n
删除项目中所有的 FormattedMessage 和 formatMessage,并将其替换,如果从 locale 中读取到了 id,将使用 locale 中。如果没有使用 defaultMessage,两者都不存在将会将 id 替换到项目中。
Copyright 2013 - present © cnpmjs.org | Home |