Commit ·
35db22b
1
Parent(s): a30e608
update
Browse files- ndcc/_cms/auth/index.js +3 -0
ndcc/_cms/auth/index.js
CHANGED
|
@@ -98,6 +98,9 @@ export default function App(props={}) {
|
|
| 98 |
auth.forEach(item=>{
|
| 99 |
item.checked = !!_.find(thisAuth,{_id:item._id});
|
| 100 |
item.open = item.checked;
|
|
|
|
|
|
|
|
|
|
| 101 |
});
|
| 102 |
auth = _.recursion(auth,0,'parentId');
|
| 103 |
|
|
|
|
| 98 |
auth.forEach(item=>{
|
| 99 |
item.checked = !!_.find(thisAuth,{_id:item._id});
|
| 100 |
item.open = item.checked;
|
| 101 |
+
if(_.includes(['apiHistory','webPageHistory','pageHistory','pluginsHistory'],item.collection) && item.name === "页面编辑"){
|
| 102 |
+
item.name = "操作记录"
|
| 103 |
+
}
|
| 104 |
});
|
| 105 |
auth = _.recursion(auth,0,'parentId');
|
| 106 |
|