fix(系统设置): 新建用户时删除不了为空的用户组

--bug=1013361 --user=李玉号 【系统设置】添加用户组后,点击删除按钮 删除不了  控制台报错
https://www.tapd.cn/55049933/s/1162306
This commit is contained in:
shiziyuan9527 2022-05-23 16:36:25 +08:00 committed by shiziyuan9527
parent f2e1fe98ba
commit 3c9acb18df
1 changed files with 3 additions and 0 deletions

View File

@ -230,6 +230,9 @@ export default {
}
},
checkRemove(item,index){
if (!item.type) {
return true;
}
let type = item.type.split("+")[1];
if (type === this.ws) {
let isHaveWorkspace = 0;