Merge pull request #989 from tuantvk/master

🐛 fix remove and update user error handleRefresh
This commit is contained in:
Baorong Li
2019-06-29 09:57:46 -05:00
committed by GitHub
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "antd-admin",
"version": "5.0.6",
"private": true,
"version": "5.1.1",
"license": "MIT",
"description": "An admin dashboard application demo built upon Ant Design and UmiJS",
"dependencies": {
"@lingui/react": "^2.8.0",
+2 -2
View File
@@ -56,7 +56,7 @@ class User extends PureComponent {
modalType === 'create' ? i18n.t`Create User` : i18n.t`Update User`
}`,
centered: true,
onOk(data) {
onOk: data => {
dispatch({
type: `user/${modalType}`,
payload: data,
@@ -81,7 +81,7 @@ class User extends PureComponent {
pageSize: page.pageSize,
})
},
onDeleteItem(id) {
onDeleteItem: id => {
dispatch({
type: 'user/delete',
payload: id,
+1 -1
View File
@@ -1,6 +1,6 @@
module.exports = {
siteName: 'AntD Admin',
copyright: 'Ant Design Admin © 2018 zuiidea',
copyright: 'Ant Design Admin ©2019 zuiidea',
logoPath: '/logo.svg',
apiPrefix: '/api/v1',
fixedHeader: true, // sticky primary layout header