fix(web): 统一危险操作按钮样式
This commit is contained in:
1 parent
e77db70278
commit
f5b399a52f
14 files changed
+54
-37
No files matched your search
@@ -180,8 +180,8 @@ const {
|
||||
>
|
||||
<el-button
|
||||
v-if="canAudit && row.status === 'approved'"
|
||||
type="danger"
|
||||
size="small"
|
||||
class="danger-action"
|
||||
@click="freeze(row)"
|
||||
>冻结</el-button
|
||||
>
|
||||
|
||||
@@ -135,7 +135,8 @@ export function useCreatorAudit() {
|
||||
await ElMessageBox.confirm(`冻结后「${row.name}」将无法提交内容,确认冻结?`, '冻结创作者', {
|
||||
confirmButtonText: '确认冻结',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
type: 'warning',
|
||||
confirmButtonClass: 'el-button--danger'
|
||||
})
|
||||
} catch {
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user