diff --git a/src/components/selection/UserSelectModal.vue b/src/components/selection/UserSelectModal.vue index 41914f5d..730f074b 100644 --- a/src/components/selection/UserSelectModal.vue +++ b/src/components/selection/UserSelectModal.vue @@ -180,15 +180,12 @@ export default { } } }, - mounted () { - this.getSysCategoryTree() - this.initRoleList() - this.loadData() - }, methods: { open (value) { - this.visible = true + this.getSysCategoryTree() + this.initRoleList() this.loadData() + this.visible = true if (value) { this.selectedRowKeys = value.split(',') this.getUserListByIds(value)