fix(web): 统一危险操作按钮样式

This commit is contained in:
Zhou Weidong committed 2026-10-19 12:32:23 +08:00
1 parent e77db70278
commit f5b399a52f
14 files changed
+54 -37

No files matched your search

+2 -2
View File
@@ -244,8 +244,8 @@ function requestDramaCover(options) {
<el-button size="small">{{ hasResumeSession ? '继续上传' : '上传视频' }}</el-button>
</el-upload>
<el-button
type="danger"
size="small"
class="danger-action"
:disabled="!editable"
@click="removeEpisode(row)"
>删除</el-button
@@ -299,8 +299,8 @@ function requestDramaCover(options) {
<div class="table-actions">
<el-button
v-if="canEdit && ['SUBMITTED', 'REVIEWING'].includes(row.status)"
type="danger"
size="small"
class="danger-action"
@click="withdraw(row.id)"
>撤回</el-button
>
+1 -1
View File
@@ -229,8 +229,8 @@ function openEdit(row) {
row.submissionId &&
['SUBMITTED', 'REVIEWING'].includes(row.submissionStatus)
"
type="danger"
size="small"
class="danger-action"
@click="withdraw(row)"
>撤回</el-button
>
@@ -156,7 +156,8 @@ export function useCreatorWorkspace() {
'撤回提交',
{
confirmButtonText: '确认撤回',
cancelButtonText: '取消'
cancelButtonText: '取消',
confirmButtonClass: 'el-button--danger'
}
)
} catch {