refresh bug

This commit is contained in:
李浩
2018-03-16 10:29:32 +08:00
parent 2a96d7a5f6
commit 99ec9facd3
+3 -2
View File
@@ -41,6 +41,9 @@ const User = ({
type: `user/${modalType}`,
payload: data,
})
.then(() => {
handleRefresh()
})
},
onCancel () {
dispatch({
@@ -80,7 +83,6 @@ const User = ({
currentItem: item,
},
})
.then(() => handleRefresh)
},
rowSelection: {
selectedRowKeys,
@@ -113,7 +115,6 @@ const User = ({
modalType: 'create',
},
})
.then(() => handleRefresh)
},
switchIsMotion () {
dispatch({ type: 'user/switchIsMotion' })