fix(web): 统一危险操作按钮样式
This commit is contained in:
1 parent
e77db70278
commit
f5b399a52f
14 files changed
+54
-37
No files matched your search
@@ -343,7 +343,7 @@ const handleTargetText = computed(() => {
|
||||
show-overflow-tooltip
|
||||
:formatter="dateCell"
|
||||
/>
|
||||
<el-table-column label="操作" width="200" fixed="right">
|
||||
<el-table-column label="操作" width="230" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<div class="table-actions">
|
||||
<el-button
|
||||
@@ -358,8 +358,8 @@ const handleTargetText = computed(() => {
|
||||
>
|
||||
<el-button
|
||||
v-if="canCommentAudit"
|
||||
type="danger"
|
||||
size="small"
|
||||
class="danger-action"
|
||||
@click="removeComment(row)"
|
||||
>删除</el-button
|
||||
>
|
||||
@@ -523,11 +523,7 @@ const handleTargetText = computed(() => {
|
||||
<el-button v-if="canWordUpdate" type="primary" size="small" @click="openWord(row)"
|
||||
>编辑</el-button
|
||||
>
|
||||
<el-button
|
||||
v-if="canWordUpdate"
|
||||
size="small"
|
||||
class="danger-action"
|
||||
@click="removeWord(row)"
|
||||
<el-button v-if="canWordUpdate" type="danger" size="small" @click="removeWord(row)"
|
||||
>删除</el-button
|
||||
>
|
||||
<span v-if="!canWordUpdate" class="console-muted">只读</span>
|
||||
|
||||
Reference in new issue
Block a user