xiatian 5 年之前
父节点
当前提交
deaa2e8c14
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/modules/basic/view/role_privilege_settings.vue

+ 5 - 1
src/modules/basic/view/role_privilege_settings.vue

@@ -134,7 +134,11 @@ export default {
         if (0 < this.roleList.length) {
           this.form.roleId = this.roleList[0].roleId;
         }
-        this.privilegeGroupList = resp3.data;
+        this.privilegeGroupList = resp3.data.filter(function(item) {
+          if (item.ext1 != "function") {
+            return item;
+          }
+        });
         if (0 < this.privilegeGroupList.length) {
           this.form.privilegeGroupId = this.privilegeGroupList[0].id;
         }