Bladeren bron

修复bug

zhaoke 3 jaren geleden
bovenliggende
commit
4355c3e12a

+ 5 - 1
src/components/msgTree/index.vue

@@ -76,7 +76,7 @@ export default {
       deep: true
     },
     getExpandedKeysStep: {
-      handler(val) {
+      handler (val) {
         if (val.every(v => v)) {
           this.defaultExpandedKeys = [-1]
           this.checkedKeys.forEach(key => {
@@ -187,6 +187,10 @@ export default {
     .custom-tree-node {
       margin-left: 10px;
       font-size: 14px;
+      max-width: 150px;
+      white-space: nowrap;
+      overflow: hidden;
+      text-overflow: ellipsis;
     }
   }
   ::v-deep .radioBg {

+ 4 - 1
src/components/rolelist/index.vue

@@ -113,6 +113,10 @@ export default {
     selectedRoleId: {
       type: Number,
       default: 0
+    },
+    pageSize: {
+      type: Number,
+      default: 100
     }
   },
   data () {
@@ -122,7 +126,6 @@ export default {
       dataList: [],
       arrsList: [],
       msg: null,
-      pageSize: 100,
       pageNum: 1,
       total: '',
       loading: false,

+ 1 - 1
src/views/accountGroupManagement/components/accountGroupEdit.vue

@@ -29,7 +29,7 @@
         <template v-if="openRole">
           <el-col :span="8">
             <div class="part">
-              <RoleList title="角色列表" :role-type="roleType" :group-ids="groupIds" :check-box-list="roleListCheckedList" :number="8" :active="true" :selected-role-id="currentSelectedRoleId" @checkChange="getRoleListChecked" @checkClick="selectRole" @role-list-change="roleListCheckedFilter" />
+              <RoleList title="角色列表" :role-type="roleType" :group-ids="groupIds" :check-box-list="roleListCheckedList" :number="8" :active="true" :selected-role-id="currentSelectedRoleId" :pageSize="200" @checkChange="getRoleListChecked" @checkClick="selectRole" @role-list-change="roleListCheckedFilter" />
             </div>
           </el-col>
           <el-col :span="8">