修改
This commit is contained in:
@@ -15,7 +15,7 @@ import UpdateForm from './edit';
|
||||
const handleAdd = async (fields: API.System.Menu) => {
|
||||
const hide = message.loading('正在添加');
|
||||
try {
|
||||
await menuAdd({ ...fields });
|
||||
await roleAdd({ ...fields });
|
||||
hide();
|
||||
message.success('添加成功');
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user