Commit 642db372 authored by limengyang's avatar limengyang

feat(lmy):角色权限

parent 5b201fd4
...@@ -12,6 +12,7 @@ const product: AppRouteModule = { ...@@ -12,6 +12,7 @@ const product: AppRouteModule = {
orderNo: 500, orderNo: 500,
icon: 'ion:grid-outline', icon: 'ion:grid-outline',
title: '商品管理', title: '商品管理',
roles: ['supplier'],
}, },
children: [ children: [
{ {
...@@ -29,7 +30,7 @@ const product: AppRouteModule = { ...@@ -29,7 +30,7 @@ const product: AppRouteModule = {
meta: { meta: {
title: '任务中心', title: '任务中心',
}, },
} },
], ],
}; };
......
...@@ -402,6 +402,7 @@ ...@@ -402,6 +402,7 @@
const res = await regionalSpotManageUploadOpsProductApi(param); const res = await regionalSpotManageUploadOpsProductApi(param);
if (res.success) { if (res.success) {
message.success('批量导入成功'); message.success('批量导入成功');
importCancel();
} else { } else {
message.error(res.message); message.error(res.message);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment