Commit 78d8ce2e by zhaochengxiang

资产列表问题

parent 1fb5560e
......@@ -22,6 +22,7 @@ import 'react-contexify/dist/ReactContexify.css';
const { Text } = Typography;
const { Search } = Input;
const { Column } = Table;
//资产项
const AssetItem = (props) => {
......@@ -352,7 +353,7 @@ const AssetTable = (props) => {
})
setAssets([]);
setColumns(_columns);
setColumns([..._columns, <Column key='auto' />]);
metadataIndexRef.current = _metadataIndex;
......
......@@ -57,6 +57,7 @@ const ImportStockWordModal = (props) => {
return (index+1).toString();
},
width: 60,
ellipsis: true,
},
{
title: '导入文件名',
......@@ -105,7 +106,12 @@ const ImportStockWordModal = (props) => {
{
title: '导入状态',
dataIndex: 'state',
width: 100,
ellipsis: true,
},
{
title: '',
dataIndex: 'auto',
}
]
......
......@@ -592,8 +592,6 @@ const ModelTable = (props) => {
width: size.width,
};
console.log('nextColumns', nextColumns);
if ((modelId||'')==='' && (view==='state'||(keyword||'')!=='')) {
setIncludePathColumns(nextColumns);
} else {
......
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