优化
This commit is contained in:
@@ -92,7 +92,15 @@ onMounted(async () => {})
|
|||||||
line-height: 30px !important;
|
line-height: 30px !important;
|
||||||
color: var(--color-text) !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 {
|
.ant-select-focused .ant-select-selector {
|
||||||
border-color: var(--color-primary) !important;
|
border-color: var(--color-primary) !important;
|
||||||
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1) !important;
|
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1) !important;
|
||||||
|
|||||||
@@ -250,11 +250,8 @@ const handleDelete = (record) => {
|
|||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: '确认删除',
|
title: '确认删除',
|
||||||
content: `确定要删除配音「${record.name}」吗?此操作不可恢复。`,
|
content: `确定要删除配音「${record.name}」吗?此操作不可恢复。`,
|
||||||
okText: '删除',
|
|
||||||
okButtonProps: { danger: true },
|
okButtonProps: { danger: true },
|
||||||
cancelText: '取消',
|
|
||||||
centered: true,
|
centered: true,
|
||||||
width: 420,
|
|
||||||
onOk: async () => {
|
onOk: async () => {
|
||||||
try {
|
try {
|
||||||
const res = await VoiceService.delete(record.id)
|
const res = await VoiceService.delete(record.id)
|
||||||
|
|||||||
@@ -1191,6 +1191,8 @@ onMounted(() => {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 批量删除确认弹窗样式
|
// 批量删除确认弹窗样式
|
||||||
:deep(.batch-delete-modal) {
|
:deep(.batch-delete-modal) {
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ yudao:
|
|||||||
default-model: cosyvoice-v3-flash
|
default-model: cosyvoice-v3-flash
|
||||||
siliconflow:
|
siliconflow:
|
||||||
enabled: true
|
enabled: true
|
||||||
api-key: ${SILICONFLOW_API_KEY:}
|
api-key: sk-epsakfenqnyzoxhmbucsxlhkdqlcbnimslqoivkshalvdozz
|
||||||
base-url: https://api.siliconflow.cn
|
base-url: https://api.siliconflow.cn
|
||||||
default-model: IndexTeam/IndexTTS-2
|
default-model: IndexTeam/IndexTTS-2
|
||||||
ice:
|
ice:
|
||||||
|
|||||||
Reference in New Issue
Block a user