Przeglądaj źródła

style: 修改更多样式

wanggaokun 3 tygodni temu
rodzic
commit
86fd3206f3
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      src/views/system/role/index.vue

+ 5 - 1
src/views/system/role/index.vue

@@ -11,7 +11,7 @@
         <div class="operation-group">
           <el-button type="primary" link icon="EditPen" @click="openDrawer('编辑', row)"> 编辑 </el-button>
           <el-button v-if="row.isLock !== '1'" type="primary" link icon="Delete" @click="deleteRow(row)"> 删除 </el-button>
-          <div>
+          <div class="group">
             <el-dropdown trigger="click">
               <el-button type="primary" link icon="DArrowRight"> 授权 </el-button>
               <template #dropdown>
@@ -119,6 +119,10 @@ const openAuthPermissionsDrawer = (title: string, row: Partial<RoleVO> = {}) =>
 .operation-group {
   display: flex;
   justify-content: center;
+  .group {
+    display: flex;
+    justify-content: center;
+  }
 }
 .operation-group > * {
   margin-left: 8px;