mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
升级一下 mobx-react 5.x 貌似不支持 react-hooks
This commit is contained in:
parent
13a9b19479
commit
62ddef9c36
@ -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",
|
||||
|
@ -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,
|
||||
}
|
||||
)}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user