Merge pull request #4041 from jumpserver/pr@v4@fix_reload_groups

fixed: Fixed the issue of manual refresh for batch update users
This commit is contained in:
ZhaoJiSen
2024-06-13 19:05:04 +08:00
committed by GitHub

View File

@@ -328,6 +328,16 @@ export default {
},
handleDialogUpdate() {
this.updateSelectedDialogSetting.visible = false
// 此处必须显示重新赋值才能在更新用户时使得 Groups 数据重新刷新
this.tableConfig.columnsMeta.groups = {
formatter: AmountFormatter,
formatterArgs: {
routeQuery: {
tab: 'UserDetail'
}
}
}
this.reloadTable()
}
}