优化
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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