fix(系统设置): 修复批量添加到工作空间时页面缓存问题

--bug=1007877 --user=刘瑞斌 【系统设置】系统-用户-批量添加到项目/工作空间,会带着上一次选择的用户组 https://www.tapd.cn/55049933/s/1070960
This commit is contained in:
CaptainB 2021-11-20 14:31:26 +08:00 committed by 刘瑞斌
parent a1190b450d
commit 8e22dbe625
2 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,7 @@ export default {
open() { open() {
listenGoBack(this.close); listenGoBack(this.close);
this.dialogVisible = true; this.dialogVisible = true;
this.selectedUserGroup = "";
this.rules.project[0].message = this.$t('user.select_project'); this.rules.project[0].message = this.$t('user.select_project');
}, },
confirm() { confirm() {

View File

@ -102,6 +102,7 @@ export default {
open() { open() {
listenGoBack(this.close); listenGoBack(this.close);
this.dialogVisible = true; this.dialogVisible = true;
this.selectedUserGroup = "";
this.rules.workspace[0].message = this.$t('user.select_workspace'); this.rules.workspace[0].message = this.$t('user.select_workspace');
}, },
confirm() { confirm() {