fix: 修复查询 last_project_id
This commit is contained in:
parent
3ad7519327
commit
beb39ed41c
|
@ -197,7 +197,8 @@ export function getCurrentUserId() {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getCurrentProjectID() {
|
export function getCurrentProjectID() {
|
||||||
return localStorage.getItem(PROJECT_ID);
|
let user = getCurrentUser();
|
||||||
|
return user.lastProjectId;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function enableModules(...modules) {
|
export function enableModules(...modules) {
|
||||||
|
|
Loading…
Reference in New Issue