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

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

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