Commit 79c1e48d authored by TZW's avatar TZW

1117

parent 7249b9d6
......@@ -295,12 +295,14 @@ function TreeRender({ url, deleteurl, saveurl, onselected, params, noaction, max
key: item.key,
children: loop(item.children),
level: item.level,
type: item.type,
};
}
return {
title: noaction ? title : actiontitle,
key: item.key,
level: item.level,
type: item.type,
};
});
useEffect(() => {
......
......@@ -209,9 +209,9 @@ function getcolumns(setdrawer) {
switch (row.status) {
case 1:
return <Tag color="success">在用</Tag>;
case 2:
return <Tag>报废</Tag>;
case 3:
return <Tag>报废</Tag>;
case 2:
return <Tag color="volcano">借用中</Tag>;
default:
break;
......
This diff is collapsed.
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