|
@@ -24,23 +24,24 @@ function RoleAdd({ id, closePage, upTableList, addTableList }: Props) {
|
|
|
|
|
|
// 页面权限的选择
|
|
|
const [list, setList] = useState<PermissionsAPIType[]>([
|
|
|
- // {
|
|
|
- // id: 100,
|
|
|
- // name: "数据统计",
|
|
|
- // authority: true,
|
|
|
- // children: [{ id: 110, name: "热度统计", authority: true }],
|
|
|
- // },
|
|
|
+ {
|
|
|
+ id: 100,
|
|
|
+ name: "数据统计",
|
|
|
+ authority: true,
|
|
|
+ children: [{ id: 110, name: "热度统计", authority: true }],
|
|
|
+ },
|
|
|
{
|
|
|
id: 200,
|
|
|
name: "内容管理",
|
|
|
authority: true,
|
|
|
children: [
|
|
|
- // { id: 220, name: "场景管理", authority: true },
|
|
|
+ { id: 220, name: "场景管理", authority: true },
|
|
|
{ id: 230, name: "馆藏管理", authority: true },
|
|
|
{ id: 240, name: "万物墙管理", authority: true },
|
|
|
{ id: 250, name: "弹幕管理", authority: true },
|
|
|
{ id: 260, name: "题库管理", authority: true },
|
|
|
// { id: 270, name: "智能导览管理", authority: true },
|
|
|
+ { id: 280, name: "开屏海报", authority: true },
|
|
|
],
|
|
|
},
|
|
|
]);
|