fix: 修复查询 last_project_id

This commit is contained in:
Captain.B 2021-05-31 15:25:00 +08:00 committed by 刘瑞斌
parent 3ad7519327
commit beb39ed41c
1 changed files with 2 additions and 1 deletions

View File

@ -197,7 +197,8 @@ export function getCurrentUserId() {
}
export function getCurrentProjectID() {
return localStorage.getItem(PROJECT_ID);
let user = getCurrentUser();
return user.lastProjectId;
}
export function enableModules(...modules) {