Commit 8c13b9b0 authored by 田翔's avatar 田翔

fix: 下拉属性的元素修改

parent 5999ce04
{
"name": "panda-xform",
"version": "4.2.2",
"description": "4.2.2 增加筛选标签显示",
"version": "4.2.3",
"description": "4.2.3 下拉属性的元素修改",
"keywords": [
"panda-xform"
],
......
......@@ -182,6 +182,13 @@ const TablePack = (props, ref) => {
if (['RadioButton', 'CheckBox'].includes(widget)) {
return <SelectView {...props} />
}
if (value && value.length > 10) {
return (
<Tooltip title={value}>
<span style={{ display: 'inline-block', width: '100%' }}>{value}</span>
</Tooltip>
)
}
return (
<div>{value}</div>
)
......@@ -256,7 +263,6 @@ const TablePack = (props, ref) => {
const onChange = (page, filters, sorter) => {
setFilteredInfo(filters)
console.log('sorter', sorter)
setSortedInfo(sorter)
tableChange(page, filters, sorter)
}
......
......@@ -29,6 +29,12 @@ body #app {
}
}
}
.@{ant-prefix}-spin-nested-loading {
height: 100%;
.@{ant-prefix}-spin-container {
height: 100%;
}
}
.@{ant-prefix}-spin-spinning {
background: rgba(255, 255, 255, 0.7);
max-height: none !important;
......
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