fix: 修复无license可以打开工作空间配额的菜单问题

This commit is contained in:
CaptainB 2022-06-08 18:58:35 +08:00 committed by 刘瑞斌
parent b9910c2850
commit 3aa282a4e2
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ export default {
this.systems.splice(this.systems.indexOf(item), 1);
}
});
this.workspaces.forEach(item => {
if (item.valid === true) {
this.workspaces.splice(this.workspaces.indexOf(item), 1);
}
});
}
});
}