Commit d53c8134 by xiaohai

fix bug

parent 4542349b
This source diff could not be displayed because it is too large. You can view the blob instead.
{ {
"name": "@gic-test/vue-gic-member-group", "name": "@gic-test/vue-gic-member-group",
"description": "vue-gic-member-group Plugin", "description": "vue-gic-member-group Plugin",
"version": "1.0.35", "version": "1.0.36",
"license": "MIT", "license": "MIT",
"private": false, "private": false,
"author": "fairyly", "author": "fairyly",
......
...@@ -434,6 +434,7 @@ ...@@ -434,6 +434,7 @@
this.getGroupList(); this.getGroupList();
if (this.defaltSelected.length > 0) { if (this.defaltSelected.length > 0) {
this.selectedData = this.uniqueByGroupId(this.selectedData.concat(this.defaltSelected)); // 数组拼接并去重 this.selectedData = this.uniqueByGroupId(this.selectedData.concat(this.defaltSelected)); // 数组拼接并去重
this.staticSelectedData = [].concat(JSON.parse(JSON.stringify(this.selectedData)));
} }
this.getMemberCountByGroups(); this.getMemberCountByGroups();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment