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

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

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