fix: 1. 系统设置入口进来只会跳转到拥有权限访问的页面。
2. 优化登录样式
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { Outlet } from "@remix-run/react";
|
||||
import { type MetaFunction } from "@remix-run/node";
|
||||
|
||||
|
||||
export const meta: MetaFunction = () => {
|
||||
return [
|
||||
{ title: "系统设置 - 中国烟草AI合同及卷宗审核系统" },
|
||||
{
|
||||
name: "settings",
|
||||
content: "评查点分组,入口模块管理,角色权限管理,文档类型管理,提示词管理"
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
export const handle = {
|
||||
breadcrumb: "系统设置",
|
||||
to: "/settings" // 指定面包屑点击后跳转的路径
|
||||
};
|
||||
|
||||
/**
|
||||
* 规则管理路由布局
|
||||
*/
|
||||
export default function SettingsLayout() {
|
||||
return <Outlet />;
|
||||
}
|
||||
Reference in New Issue
Block a user