升级一下 mobx-react 5.x 貌似不支持 react-hooks

This commit is contained in:
liaoxuezhi 2019-10-25 10:23:04 +08:00
parent 13a9b19479
commit 62ddef9c36
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
"keycode": "^2.1.9",
"match-sorter": "2.2.1",
"mobx": "^4.5.0",
"mobx-react": "^5.2.5",
"mobx-react": "^6.1.4",
"mobx-state-tree": "^3.7.0",
"moment": "^2.19.3",
"monaco-editor": "0.17.1",

View File

@ -103,7 +103,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
'tableClassName',
'headerClassName',
'footerClassName',
'toolbarClassName',
// 'toolbarClassName',
'headerToolbar',
'footerToolbar',
'filterTogglable',
@ -1367,7 +1367,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
onPopOverClose: this.handleChildPopOverClose,
headerToolbarRender: this.renderHeaderToolbar,
footerToolbarRender: this.renderFooterToolbar,
data: store.mergedData
data: store.mergedData,
}
)}