Explorar el Código

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

疯狂的狮子li hace 2 años
padre
commit
4c8dc500c7

+ 3 - 4
ruoyi-ui/src/assets/styles/ruoyi.scss

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

+ 1 - 3
ruoyi-ui/src/views/system/role/index.vue

@@ -135,9 +135,7 @@
             v-hasPermi="['system:role:remove']"
           >删除</el-button>
           <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']">
-            <span class="el-dropdown-link">
-              <i class="el-icon-d-arrow-right el-icon--right"></i>更多
-            </span>
+            <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
             <el-dropdown-menu slot="dropdown">
               <el-dropdown-item command="handleDataScope" icon="el-icon-circle-check"
                 v-hasPermi="['system:role:edit']">数据权限</el-dropdown-item>

+ 1 - 3
ruoyi-ui/src/views/system/user/index.vue

@@ -180,9 +180,7 @@
                 v-hasPermi="['system:user:remove']"
               >删除</el-button>
               <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:user:resetPwd', 'system:user:edit']">
-                <span class="el-dropdown-link">
-                  <i class="el-icon-d-arrow-right el-icon--right"></i>更多
-                </span>
+                <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
                 <el-dropdown-menu slot="dropdown">
                   <el-dropdown-item command="handleResetPwd" icon="el-icon-key"
                     v-hasPermi="['system:user:resetPwd']">重置密码</el-dropdown-item>