Commit 93ad1f43 by zhaochengxiang

资产管理问题

parent 092baf20
......@@ -122,6 +122,7 @@ const AssetTable = (props) =>{
callback: () => {
showMessage("success","删除成功")
getTable();
setCheckAllValue(false);
},
error: () => {
}
......
......@@ -144,6 +144,13 @@ const AssetTree = (props) => {
const { value } = e.target;
if (value === '') {
setExpandedKeys([]);
setAutoExpandParent(false);
setKeyword(value);
return;
}
const expandedKeys = dataList
.map(item => {
if (item.title.indexOf(value) > -1) {
......
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