Commit 3f1796ba by zhaochengxiang

资产项不固定放置

parent ccfd20e9
......@@ -263,7 +263,6 @@ const AssetTable = (props) => {
// }
} else if (name === '资产项') {
params.width = isSzseEnv?250:120;
params.fixed = 'right';
params.render = (metadata, _) => {
return (
......@@ -278,15 +277,6 @@ const AssetTable = (props) => {
})
})
const _index = _columns.findIndex(column => column.title==='资产项');
//资产项放到最后一列
if (_index !== -1) {
const metaColumn = _columns[_index];
_columns = _columns.filter(column => column.title!=='资产项');
_columns.push(metaColumn);
}
setAssets([]);
setColumns(_columns);
......
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