feat: 统一方法名 on => handle

This commit is contained in:
xingyu4j
2025-10-15 14:19:30 +08:00
parent daf01c0da8
commit 4052e3c8d2
78 changed files with 273 additions and 275 deletions

View File

@@ -20,7 +20,7 @@ import Detail from './modules/detail.vue';
defineOptions({ name: 'BpmForm' });
/** 刷新表格 */
function onRefresh() {
function handleRefresh() {
gridApi.query();
}
@@ -67,7 +67,7 @@ async function handleDelete(row: BpmFormApi.Form) {
message.success({
content: $t('ui.actionMessage.deleteSuccess', [row.name]),
});
onRefresh();
handleRefresh();
} finally {
hideLoading();
}
@@ -121,7 +121,7 @@ watch(
() => route.query.refresh,
(val) => {
if (val === '1') {
onRefresh();
handleRefresh();
}
},
{ immediate: true },