优化
This commit is contained in:
@@ -250,11 +250,8 @@ const handleDelete = (record) => {
|
||||
Modal.confirm({
|
||||
title: '确认删除',
|
||||
content: `确定要删除配音「${record.name}」吗?此操作不可恢复。`,
|
||||
okText: '删除',
|
||||
okButtonProps: { danger: true },
|
||||
cancelText: '取消',
|
||||
centered: true,
|
||||
width: 420,
|
||||
onOk: async () => {
|
||||
try {
|
||||
const res = await VoiceService.delete(record.id)
|
||||
|
||||
@@ -1191,6 +1191,8 @@ onMounted(() => {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// 批量删除确认弹窗样式
|
||||
:deep(.batch-delete-modal) {
|
||||
.ant-modal-body {
|
||||
|
||||
Reference in New Issue
Block a user