v3.8.4:修复table中更多按钮切换主题色未生效修复问题

This commit is contained in:
YunaiV 2022-11-13 10:52:23 +08:00
parent 2c43a72fcf
commit 85f83b9760
3 changed files with 3 additions and 8 deletions

View File

@ -145,9 +145,8 @@
} }
/** 表格更多操作下拉样式 */ /** 表格更多操作下拉样式 */
.el-table .el-dropdown-link { .el-table .el-dropdown-link,.el-table .el-dropdown-selfdefine {
cursor: pointer; cursor: pointer;
color: #409EFF;
margin-left: 5px; margin-left: 5px;
} }

View File

@ -62,9 +62,7 @@
v-hasPermi="['infra:job:delete']">删除</el-button> v-hasPermi="['infra:job:delete']">删除</el-button>
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)"
v-hasPermi="['infra:job:trigger', 'infra:job:query']"> v-hasPermi="['infra:job:trigger', 'infra:job:query']">
<span class="el-dropdown-link"> <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
<i class="el-icon-d-arrow-right el-icon--right"></i>更多
</span>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item command="handleRun" icon="el-icon-caret-right" <el-dropdown-item command="handleRun" icon="el-icon-caret-right"
v-hasPermi="['infra:job:trigger']">执行一次</el-dropdown-item> v-hasPermi="['infra:job:trigger']">执行一次</el-dropdown-item>

View File

@ -79,9 +79,7 @@
v-hasPermi="['system:user:update']">修改</el-button> v-hasPermi="['system:user:update']">修改</el-button>
<el-dropdown @command="(command) => handleCommand(command, scope.$index, scope.row)" <el-dropdown @command="(command) => handleCommand(command, scope.$index, scope.row)"
v-hasPermi="['system:user:delete', 'system:user:update-password', 'system:permission:assign-user-role']"> v-hasPermi="['system:user:delete', 'system:user:update-password', 'system:permission:assign-user-role']">
<span class="el-dropdown-link"> <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
<i class="el-icon-d-arrow-right el-icon--right"></i>更多
</span>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item command="handleDelete" v-if="scope.row.id !== 1" size="mini" type="text" icon="el-icon-delete" <el-dropdown-item command="handleDelete" v-if="scope.row.id !== 1" size="mini" type="text" icon="el-icon-delete"
v-hasPermi="['system:user:delete']">删除</el-dropdown-item> v-hasPermi="['system:user:delete']">删除</el-dropdown-item>