Commit cda0cd6d authored by 皮倩雯's avatar 皮倩雯

fix: '修复搜索接口报错'

parent 667ca8c1
Pipeline #82580 waiting for manual action with stages
...@@ -214,8 +214,8 @@ const UserManage = () => { ...@@ -214,8 +214,8 @@ const UserManage = () => {
// width: 150, // width: 150,
ellipsis: true, ellipsis: true,
render: text => { render: text => {
let arr = text.split('/'); let arr = text?.split('/');
if (arr.length > 2) { if (arr?.length > 2) {
let str = `${arr[0]}/.../${arr[arr.length - 1]}`; let str = `${arr[0]}/.../${arr[arr.length - 1]}`;
return ( return (
<Tooltip title={text}> <Tooltip title={text}>
...@@ -709,7 +709,6 @@ const UserManage = () => { ...@@ -709,7 +709,6 @@ const UserManage = () => {
onMouseEnter={e => { onMouseEnter={e => {
setOrgID(org); setOrgID(org);
setOrgTitle1(org.text); setOrgTitle1(org.text);
console.log(org);
}} }}
/> />
</Tooltip> </Tooltip>
...@@ -724,7 +723,6 @@ const UserManage = () => { ...@@ -724,7 +723,6 @@ const UserManage = () => {
// getMapSetByGroupID(org.id); // getMapSetByGroupID(org.id);
setCurrentSelectOrg1(org.id); setCurrentSelectOrg1(org.id);
setId(org.text); setId(org.text);
console.log(org);
}} }}
/> />
</Dropdown> </Dropdown>
......
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