Merge pull request #10562 from zhangtao07/master

fix: 修复弹窗中crud2刷新后按钮不可点击问题
This commit is contained in:
张涛 2024-07-02 10:06:46 +08:00 committed by GitHub
commit 83fba50e14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -806,7 +806,7 @@ export default class Table2 extends React.Component<Table2Props, object> {
}
renderCellSchema(schema: any, props: any) {
const {render} = this.props;
const {render, store} = this.props;
// Table Cell SchemaObject转化成ReactNode
if (schema && isObject(schema)) {
@ -969,6 +969,7 @@ export default class Table2 extends React.Component<Table2Props, object> {
// finalCanAccessSuperData ? item.locals : item.data
// )
// : column.name,
btnDisabled: store.dragging,
popOverContainer:
popOverContainer || this.getPopOverContainer,
quickEditFormRef: this.subFormRef,