Skip to content

Commit

Permalink
table页面请求时缺少extraRenderValues
Browse files Browse the repository at this point in the history
  • Loading branch information
qq958691165 committed Dec 25, 2024
1 parent ed286b7 commit b029ed5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function (props: TableProps) {
setEditableValues([])

if (!modalContext.inModal) {
const only = ['dataSource', 'pagination']
const only = ['dataSource', 'pagination', 'extraRenderValues']
if (tabsContext.inTabs) {
only.push('tabs')
}
Expand All @@ -71,8 +71,6 @@ export default function (props: TableProps) {
props = getValueByPath(props, tabsContext.propsPath)
}

console.log(props)

setDataSource(postData(props.dataSource))
setPagination(props.pagination)
},
Expand Down

0 comments on commit b029ed5

Please sign in to comment.