作者 RuoYi

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

@@ -135,9 +135,8 @@ @@ -135,9 +135,8 @@
135 } 135 }
136 136
137 /** 表格更多操作下拉样式 */ 137 /** 表格更多操作下拉样式 */
138 -.el-table .el-dropdown-link { 138 +.el-table .el-dropdown-link,.el-table .el-dropdown-selfdefine {
139 cursor: pointer; 139 cursor: pointer;
140 - color: #409EFF;  
141 margin-left: 5px; 140 margin-left: 5px;
142 } 141 }
143 142
@@ -129,9 +129,7 @@ @@ -129,9 +129,7 @@
129 v-hasPermi="['monitor:job:remove']" 129 v-hasPermi="['monitor:job:remove']"
130 >删除</el-button> 130 >删除</el-button>
131 <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['monitor:job:changeStatus', 'monitor:job:query']"> 131 <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['monitor:job:changeStatus', 'monitor:job:query']">
132 - <span class="el-dropdown-link">  
133 - <i class="el-icon-d-arrow-right el-icon--right"></i>更多  
134 - </span> 132 + <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
135 <el-dropdown-menu slot="dropdown"> 133 <el-dropdown-menu slot="dropdown">
136 <el-dropdown-item command="handleRun" icon="el-icon-caret-right" 134 <el-dropdown-item command="handleRun" icon="el-icon-caret-right"
137 v-hasPermi="['monitor:job:changeStatus']">执行一次</el-dropdown-item> 135 v-hasPermi="['monitor:job:changeStatus']">执行一次</el-dropdown-item>
@@ -135,9 +135,7 @@ @@ -135,9 +135,7 @@
135 v-hasPermi="['system:role:remove']" 135 v-hasPermi="['system:role:remove']"
136 >删除</el-button> 136 >删除</el-button>
137 <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']"> 137 <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']">
138 - <span class="el-dropdown-link">  
139 - <i class="el-icon-d-arrow-right el-icon--right"></i>更多  
140 - </span> 138 + <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
141 <el-dropdown-menu slot="dropdown"> 139 <el-dropdown-menu slot="dropdown">
142 <el-dropdown-item command="handleDataScope" icon="el-icon-circle-check" 140 <el-dropdown-item command="handleDataScope" icon="el-icon-circle-check"
143 v-hasPermi="['system:role:edit']">数据权限</el-dropdown-item> 141 v-hasPermi="['system:role:edit']">数据权限</el-dropdown-item>
@@ -180,9 +180,7 @@ @@ -180,9 +180,7 @@
180 v-hasPermi="['system:user:remove']" 180 v-hasPermi="['system:user:remove']"
181 >删除</el-button> 181 >删除</el-button>
182 <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:user:resetPwd', 'system:user:edit']"> 182 <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:user:resetPwd', 'system:user:edit']">
183 - <span class="el-dropdown-link">  
184 - <i class="el-icon-d-arrow-right el-icon--right"></i>更多  
185 - </span> 183 + <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
186 <el-dropdown-menu slot="dropdown"> 184 <el-dropdown-menu slot="dropdown">
187 <el-dropdown-item command="handleResetPwd" icon="el-icon-key" 185 <el-dropdown-item command="handleResetPwd" icon="el-icon-key"
188 v-hasPermi="['system:user:resetPwd']">重置密码</el-dropdown-item> 186 v-hasPermi="['system:user:resetPwd']">重置密码</el-dropdown-item>