提交 62ae9b70 作者: ZhangLingKun

Merge branch 'develop'

流水线 #7140 已通过 于阶段
in 1 分 7 秒
......@@ -14,4 +14,4 @@ patches:
images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag: ddf4157b84f33c33305d857d4c520d1c2ffdfaae
newTag: b4e4c432bf7c084e674f201fc6d3c8184a6f2b75
......@@ -79,7 +79,7 @@ const AddEditModal: React.FC<propType> = (props) => {
form.setFieldsValue({
...data,
companyId: companyList.find((i) => i.label === data.companyName)?.value,
roleId: data.roleInfoDTO.id,
roleId: data.roleInfoDTO?.id || undefined,
});
}, [companyList]);
return (
......
......@@ -783,7 +783,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<CategoryManage />),
errorElement: <ErrorPage />,
meta: {
id: 710,
id: 730,
title: '培训分类',
icon: <AppstoreAddOutlined />,
},
......@@ -793,7 +793,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<InstitutionsListView />),
errorElement: <ErrorPage />,
meta: {
id: 720,
id: 710,
title: '执照考试',
icon: <VerifiedOutlined />,
},
......@@ -803,7 +803,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<AddInstitutionsView />),
errorElement: <ErrorPage />,
meta: {
id: 721,
id: 711,
title: '机构上传',
icon: <UserOutlined />,
hidden: true,
......@@ -814,7 +814,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<AddInstitutionsView />),
errorElement: <ErrorPage />,
meta: {
id: 722,
id: 712,
title: '机构编辑',
icon: <UserOutlined />,
hidden: true,
......@@ -825,7 +825,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<CourseManageView />),
errorElement: <ErrorPage />,
meta: {
id: 730,
id: 720,
icon: <BookOutlined />,
title: '课程管理',
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论