|
@@ -117,7 +117,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;
|
|
|
}
|