Commit 3c453f51 authored by 陈前坚's avatar 陈前坚

perf: 编辑机构新增描述

parent b036d7dc
......@@ -149,7 +149,15 @@ const UserManage = () => {
ellipsis: true,
render: record => {
if (record) {
return record;
return (
<div
ref={r => {
if (r) {
r.innerHTML = record;
}
}}
/>
);
}
return <span>-</span>;
},
......@@ -342,7 +350,7 @@ const UserManage = () => {
setTableLoading(false);
setSearchWord(''); // 搜索框置空
setOrgTitle(res.data.GroupName);
setDescription(res.data.GroupName);
setDescription(res.data.Description);
// 返回用户表数据结构处理,扁平化
const temp = flatten(getUsers(res.data));
// 设置过滤字段
......
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