Skip to content

Commit

Permalink
fix: 修复 i18n 不存在
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed May 7, 2023
1 parent 080c7e6 commit 657e6cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/helpers/contant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
ScheduleTwoTone,
} from '@ant-design/icons';
import _ from 'lodash-es';
import { intl } from '@/i18n';
import type { ResumeConfig } from '@/components/types';

/**
Expand Down Expand Up @@ -96,7 +97,7 @@ export const CONTENT_OF_MODULE = ({ intl }) => {
{
type: 'input',
attributeId: 'src',
displayName: i18n.get('头像地址'),
displayName: intl.get('头像地址'),
cfg: {
placeholder: 'https://xxx.png',
},
Expand Down

0 comments on commit 657e6cb

Please sign in to comment.