Commit 0ae7e669 authored by 邓超's avatar 邓超

fix: 修改用户管理没显示数据问题

parent 863630c9
Pipeline #67738 passed with stages
......@@ -123,7 +123,7 @@
"lodash": "4.17.11",
"minimist": "1.2.0",
"panda-xform": "^1.5.9",
"parseForm": "^1.8.3",
"parseForm": "^2.2.4",
"prop-types": "15.7.2",
"quill": "^1.3.7",
"rc-tween-one": "^3.0.6",
......
......@@ -456,7 +456,7 @@ const UserManage = () => {
GetOUTreeNew({ keyword: '' })
.then(newres => {
if (newres.code === 0) {
let res = newres.data;
let res = newres.data.list;
setTreeDataCopy(res);
}
})
......@@ -497,7 +497,7 @@ const UserManage = () => {
GetOUTreeNew({ keyword: searchWordOrg })
.then(newres => {
if (newres.code === 0) {
let res = newres.data;
let res = newres.data.list;
setTreeDataCopy(res);
console.log(res);
let aa = [];
......@@ -1410,7 +1410,7 @@ const UserManage = () => {
GetOUTreeNew({ selectOU: -1 })
.then(newres => {
if (newres.code === 0) {
let res = newres.data;
let res = newres.data.list;
setTreeLoading(false);
setSearchWord('');
setFilteredValue([]);
......
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