😎调整代码生成模板

This commit is contained in:
zuohuaijun 2024-07-17 17:45:26 +08:00
parent 995e2b8bfd
commit a9315d7404

View File

@ -298,7 +298,7 @@ const options = useVxeTable<@(@Model.ClassName)>(
}
}
}
{ field: '', title: '修改记录', width: 100, showOverflow: 'tooltip', slots: { default: 'row_record' } },
{ title: '修改记录', width: 100, showOverflow: 'tooltip', slots: { default: 'row_record' } },
{ title: '操作', fixed: 'right', width: 180, showOverflow: true, slots: { default: 'row_buttons' } },
],
},
@ -396,7 +396,7 @@ const handleDelete = (row: any) => {
} else {
@:await delete@(@Model.ClassName)(row);
}
handleQuery();
await handleQuery();
ElMessage.success('删除成功');
})
.catch(() => {});