Commit e8eccee4 authored by 田翔's avatar 田翔

fix: 兼容性增强

parent 63573866
{
"name": "panda-xform",
"version": "4.3.8",
"description": "4.3.8 样式问题",
"version": "4.3.9",
"description": "4.3.9 兼容性增强",
"keywords": [
"panda-xform"
],
......
......@@ -56,7 +56,7 @@ const TablePack = (props, ref) => {
//台账列表、台账选择器表头
const getColumnProps = (json, v) => {
const { widget, sourceType, options } = json?.[v]
const { widget, sourceType, options } = json?.[v] || {}
let searchProps = {
filterDropdown: ({ setSelectedKeys, selectedKeys, confirm, clearFilters, close }) => {
return (
......@@ -505,7 +505,6 @@ const TablePack = (props, ref) => {
rowSelection={rowSelection}
onRow={onRow}
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)' }}
onChange={onChange}
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