Commit 76a649c6 by zhaochengxiang

鼠标移动至模型目录需要显示模型目录的描述 提Bug

parent 8d487280
...@@ -519,6 +519,9 @@ const ModelTree = (props) => { ...@@ -519,6 +519,9 @@ const ModelTree = (props) => {
onSelect={onTreeSelect} onSelect={onTreeSelect}
treeData={treeData} treeData={treeData}
selectedKeys={[item?item.key:'']} selectedKeys={[item?item.key:'']}
titleRender={(nodeData) => {
return <span title={nodeData?.remark||''}>{nodeData?.name||''}</span>;
}}
/> />
</Spin> </Spin>
</div> </div>
......
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