Commit f2e91a43 by zhaochengxiang

bug fix

parent 73f097e3
......@@ -189,13 +189,13 @@ const ModelTable = (props) => {
});
const cols = [
{
name: '序号',
key: 'index',
width: 60,
sortable: false,
resizable: true,
},
// {
// name: '序号',
// key: 'index',
// width: 60,
// sortable: false,
// resizable: true,
// },
{
name: '模型名称',
key: 'name',
......@@ -299,7 +299,7 @@ const ModelTable = (props) => {
{
name:'标签',
key:'tag',
minWidth:360,
width:360,
className: 'table-tag-cell',
formatter(props) {
return (
......@@ -335,10 +335,6 @@ const ModelTable = (props) => {
let newCols = [...cols];
if ((visibleColNames||[]).length > 0) {
newCols = newCols.filter(col => visibleColNames.indexOf(col.name)!==-1 || col.name==='序号' || col.name==='标签');
if (visibleColNames.indexOf('模型描述') === -1) {
newCols[newCols.length-1].width = null;
}
}
if (view === 'branch') {
......
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