Commit 1864ac25 by zhaochengxiang

大百度-点击具体条目跳转后,建议高亮该条目,目前的标识非常不明显。

parent b0f06513
...@@ -296,7 +296,7 @@ tr.drop-over-upward td { ...@@ -296,7 +296,7 @@ tr.drop-over-upward td {
.yy-table-select-row { .yy-table-select-row {
.yy-table-cell { .yy-table-cell {
background-color: #F6F6F6 !important; background-color: #eeeeee !important;
} }
} }
......
...@@ -933,13 +933,13 @@ const ModelTable = (props) => { ...@@ -933,13 +933,13 @@ const ModelTable = (props) => {
onRow={(record, index) => { onRow={(record, index) => {
return { return {
id: `data-model-${record?.id}`, id: `data-model-${record?.id}`,
style: { backgroundColor: (record?.id===anchorId)?'#e7f7ff':'transparent' },
onContextMenu: event => { onContextMenu: event => {
setCurrentItem(record); setCurrentItem(record);
// displayMenu(event); // displayMenu(event);
}, },
} }
}} }}
rowClassName={(record, index) => (record?.id===anchorId)?'yy-table-select-row':''}
scroll={{ y: modelId?null:((filterData||[]).length===0?null:'calc(100vh - 121px - 57px - 24px - 38px - 44px)') }} scroll={{ y: modelId?null:((filterData||[]).length===0?null:'calc(100vh - 121px - 57px - 24px - 38px - 44px)') }}
onChange={onTableChange} onChange={onTableChange}
expandable={!isOnlyEnding ? expandable : undefined} expandable={!isOnlyEnding ? expandable : undefined}
......
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