Skip to content

Commit

Permalink
fix: 修复 intl 使用问题
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed May 7, 2023
1 parent 657e6cb commit 2eb87e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/contant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const CONTENT_OF_MODULE = ({ intl }) => {
{
type: 'input',
attributeId: 'src',
displayName: intl.get('头像地址'),
displayName: intl.formatMessage({ id: '头像地址' }),
cfg: {
placeholder: 'https://xxx.png',
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"工作经历": "Work experience",
"项目经历": "Project experience",
"隐藏头像": "Hide avatar",
"头像地址": "Avatar url",
"头像形状": "头像形状",
"圆形": "圆形",
"方形": "方形",
Expand Down

0 comments on commit 2eb87e5

Please sign in to comment.