This commit is contained in:
2026-02-01 19:16:31 +08:00
parent 003e55dccf
commit be5bfc8531
4 changed files with 11 additions and 4 deletions

View File

@@ -92,7 +92,15 @@ onMounted(async () => {})
line-height: 30px !important;
color: var(--color-text) !important;
}
.ant-modal-confirm-btns {
display: flex;
justify-content: flex-end;
gap: 8px;
.ant-btn {
margin-left: 0 !important;
}
}
.ant-select-focused .ant-select-selector {
border-color: var(--color-primary) !important;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1) !important;

View File

@@ -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)

View File

@@ -1191,6 +1191,8 @@ onMounted(() => {
// 批量删除确认弹窗样式
:deep(.batch-delete-modal) {
.ant-modal-body {