Commit e8eccee4 authored by 田翔's avatar 田翔

fix: 兼容性增强

parent 63573866
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "4.3.8", "version": "4.3.9",
"description": "4.3.8 样式问题", "description": "4.3.9 兼容性增强",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -56,7 +56,7 @@ const TablePack = (props, ref) => { ...@@ -56,7 +56,7 @@ const TablePack = (props, ref) => {
//台账列表、台账选择器表头 //台账列表、台账选择器表头
const getColumnProps = (json, v) => { const getColumnProps = (json, v) => {
const { widget, sourceType, options } = json?.[v] const { widget, sourceType, options } = json?.[v] || {}
let searchProps = { let searchProps = {
filterDropdown: ({ setSelectedKeys, selectedKeys, confirm, clearFilters, close }) => { filterDropdown: ({ setSelectedKeys, selectedKeys, confirm, clearFilters, close }) => {
return ( return (
...@@ -505,7 +505,6 @@ const TablePack = (props, ref) => { ...@@ -505,7 +505,6 @@ const TablePack = (props, ref) => {
rowSelection={rowSelection} rowSelection={rowSelection}
onRow={onRow} onRow={onRow}
pagination={parent === '关联表单' ? { total: dataSource.length, showTotal: (value) => `总计 ${value} 条` } : false} pagination={parent === '关联表单' ? { total: dataSource.length, showTotal: (value) => `总计 ${value} 条` } : false}
// scroll={parent === '关联表单' ? null : { x: '100%', y: 'calc(100% - 40px)' }}
scroll={{ x: '100%', y: 'calc(100% - 40px)' }} scroll={{ x: '100%', y: 'calc(100% - 40px)' }}
onChange={onChange} onChange={onChange}
components={{ components={{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment