diff --git a/src/views/system/RoleUserList.vue b/src/views/system/RoleUserList.vue index 6b45420..8b7303e 100644 --- a/src/views/system/RoleUserList.vue +++ b/src/views/system/RoleUserList.vue @@ -494,7 +494,7 @@ export default { this.$message.warning(this.$t('roleManage.pleaseSelectARole')) } else { this.$refs.selectUserModal.visible = true - this.$refs.selectUserModal.searchReset() + this.$refs.selectUserModal.searchQuery() } }, handleOpen (record) { diff --git a/src/views/system/modules/SelectUserModal.vue b/src/views/system/modules/SelectUserModal.vue index b176af9..c8ef27b 100644 --- a/src/views/system/modules/SelectUserModal.vue +++ b/src/views/system/modules/SelectUserModal.vue @@ -176,6 +176,7 @@ export default { handleCancel () { this.visible = false this.onClearSelected() + this.queryParam = {} }, handleOk () { this.dataSource2 = this.selectedRowKeys diff --git a/src/views/system/tags/modules/TagContentDictListDrawer.vue b/src/views/system/tags/modules/TagContentDictListDrawer.vue index 1b351aa..fc32d36 100644 --- a/src/views/system/tags/modules/TagContentDictListDrawer.vue +++ b/src/views/system/tags/modules/TagContentDictListDrawer.vue @@ -194,6 +194,7 @@ export default { this.loadData(1) }, onClose () { + this.queryParam = {} this.visible = false }, handleCancel () {