fix(web): 统一危险操作按钮样式
This commit is contained in:
1 parent
e77db70278
commit
f5b399a52f
14 files changed
+54
-37
No files matched your search
@@ -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
|
||||
>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user