|
@@ -119,6 +119,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import { deepCopy } from "../../../../plugins/utils";
|
|
import { organizationList } from "../../../base/api";
|
|
import { organizationList } from "../../../base/api";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -254,7 +255,7 @@ export default {
|
|
});
|
|
});
|
|
};
|
|
};
|
|
this.orgUsers = parseUser(data);
|
|
this.orgUsers = parseUser(data);
|
|
- this.userTree = this.orgUsers;
|
|
|
|
|
|
+ this.userTree = deepCopy(this.orgUsers);
|
|
this.getUserList();
|
|
this.getUserList();
|
|
},
|
|
},
|
|
getUserList() {
|
|
getUserList() {
|
|
@@ -278,7 +279,7 @@ export default {
|
|
},
|
|
},
|
|
labelChange() {
|
|
labelChange() {
|
|
if (!this.filterLabel) {
|
|
if (!this.filterLabel) {
|
|
- this.userTree = this.orgUsers;
|
|
|
|
|
|
+ this.userTree = deepCopy(this.orgUsers);
|
|
} else {
|
|
} else {
|
|
const escapeRegexpString = (value = "") =>
|
|
const escapeRegexpString = (value = "") =>
|
|
String(value).replace(/[|\\{}()[\]^$+*?.]/g, "\\$&");
|
|
String(value).replace(/[|\\{}()[\]^$+*?.]/g, "\\$&");
|