feat: 统一方法名 on => handle
This commit is contained in:
@@ -62,7 +62,7 @@ const parseFormCreateFields = (formFields?: string[]) => {
|
||||
};
|
||||
|
||||
/** 刷新表格 */
|
||||
function onRefresh() {
|
||||
function handleRefresh() {
|
||||
if (gridApi) {
|
||||
gridApi.query();
|
||||
}
|
||||
@@ -97,7 +97,7 @@ const handleCancel = async (row: BpmProcessInstanceApi.ProcessInstance) => {
|
||||
},
|
||||
}).then(() => {
|
||||
message.success('取消成功');
|
||||
onRefresh();
|
||||
handleRefresh();
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user