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

This commit is contained in:
CaptainB 2022-06-08 18:58:35 +08:00 committed by f2c-ci-robot[bot]
parent 3985bd346b
commit f177f905a3
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);
}
});
}
});
}