😎调整代码生成模板
This commit is contained in:
parent
995e2b8bfd
commit
a9315d7404
@ -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(() => {});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user