提交 a76e13d2 作者: 龚洪江

修复:租赁品牌,地址管理权限id添加

上级 2ff9461b
......@@ -49,7 +49,7 @@ const AddressInfo = forwardRef<any, selfProps>(({ rentGoodsDetails }, ref) => {
value: v.id,
districtCode: v.districtCode,
}));
const addressItemObj = result.find((v) => v.type === 1);
const addressItemObj = result.find((v) => v.type === 0);
if (addressItemObj) {
addressInfoForm.setFieldsValue({
returnAddress: addressItemObj.id,
......
......@@ -596,7 +596,6 @@ export const routerList: Array<RouteObjectType> = [
id: 1020,
icon: <SmileOutlined />,
title: '服务管理',
develop: true,
},
},
{
......@@ -758,7 +757,6 @@ export const routerList: Array<RouteObjectType> = [
id: 2010,
icon: <SmileOutlined />,
title: '类型管理',
develop: true,
},
},
{
......@@ -766,10 +764,9 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<RentMakeView />),
errorElement: <ErrorPage />,
meta: {
id: 10138,
id: 2020,
icon: <SmileOutlined />,
title: '品牌管理',
develop: true,
},
},
{
......@@ -780,7 +777,6 @@ export const routerList: Array<RouteObjectType> = [
id: 10139,
icon: <SmileOutlined />,
title: '品牌管理/型号',
develop: true,
hidden: true,
},
},
......@@ -1173,7 +1169,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<CompanyDetailView />),
errorElement: <ErrorPage />,
meta: {
id: 1440,
id: 1450,
title: '单位详情',
icon: <BankOutlined />,
hidden: true,
......@@ -1184,7 +1180,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<AddressManageView />),
errorElement: <ErrorPage />,
meta: {
id: 1450,
id: 1440,
title: '地址管理',
icon: <EnvironmentOutlined />,
develop: true,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论