fix: 修复查询 last_project_id
This commit is contained in:
parent
6349a31e1b
commit
10afad1d19
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue