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

@@ -24,7 +24,7 @@ const onAdd = async () => {
};
/** 删除学生课程 */
const onDelete = async (row: Demo03StudentApi.Demo03Course) => {
const handleDelete = async (row: Demo03StudentApi.Demo03Course) => {
await tableRef.value?.remove(row);
};
@@ -73,7 +73,7 @@ watch(
size="small"
type="danger"
link
@click="onDelete(row as any)"
@click="handleDelete(row as any)"
v-access:code="['infra:demo03-student:delete']"
>
{{ $t('ui.actionTitle.delete') }}