refactor: 使用前端session来保存当前项目、工作空间、组织的信息,切换后可以在不同的页面使用

This commit is contained in:
Captain.B 2021-06-10 21:55:45 +08:00 committed by 刘瑞斌
parent 9bae1ef89e
commit 2508965ab3
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ export default {
if (!this.currentUser.lastOrganizationId) {
return false;
}
this.$get("/workspace/list/orgworkspace/", response => {
this.$get("/workspace/list/orgworkspace/" + getCurrentOrganizationId(), response => {
let data = response.data;
if (data.length === 0) {
this.workspaceList = [{name: this.$t('workspace.none')}];