mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-31 06:23:47 +00:00
chore deps: upgrade lingui to v5
This commit is contained in:
+4
-4
@@ -5,7 +5,7 @@
|
||||
"description": "An admin dashboard application demo built upon Ant Design and UmiJS",
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "^4.8.3",
|
||||
"@lingui/react": "^4.14.1",
|
||||
"@lingui/react": "^5.0.0",
|
||||
"@rc-component/picker": "^1.9.0",
|
||||
"antd": "^6.0.0",
|
||||
"axios": "^0.21.4",
|
||||
@@ -45,11 +45,11 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.29.0",
|
||||
"@babel/preset-react": "^7.24.1",
|
||||
"@lingui/cli": "^4.14.1",
|
||||
"@lingui/core": "^4.14.1",
|
||||
"@lingui/cli": "^5.0.0",
|
||||
"@lingui/core": "^5.0.0",
|
||||
"@lingui/format-json": "^5.9.1",
|
||||
"@lingui/macro": "^4.14.1",
|
||||
"@umijs/preset-react": "^1.8.32",
|
||||
"@lingui/macro": "^5.0.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-plugin-dev-expression": "^0.2.3",
|
||||
"babel-plugin-import": "^1.13.8",
|
||||
|
||||
@@ -57,11 +57,9 @@ class Login extends PureComponent {
|
||||
placeholder={t`Username`}
|
||||
/>
|
||||
</FormItem>
|
||||
<Trans id="Password" render={({translation}) => (
|
||||
<FormItem name="password" rules={[{ required: true }]} hasFeedback>
|
||||
<Input type='password' placeholder={translation} required />
|
||||
</FormItem>)}
|
||||
/>
|
||||
<FormItem name="password" rules={[{ required: true }]} hasFeedback>
|
||||
<Input type='password' placeholder={t`Password`} required />
|
||||
</FormItem>
|
||||
<Row>
|
||||
<Button
|
||||
type="primary"
|
||||
|
||||
Reference in New Issue
Block a user