This commit is contained in:
zhoutianchi
2025-12-30 16:56:05 +08:00
parent f47d309192
commit 92a4bdb115
7 changed files with 34 additions and 10 deletions

View File

@@ -80,4 +80,10 @@ export const Session = {
getTenant() {
return Local.get('tenantId') ? Local.get('tenantId') : 1;
},
getRoleCode(){
return Local.get('roleCode') ? Local.get('roleCode') : '';
},
getRoleId(){
return Local.get('roleId') ? Local.get('roleId') : '';
}
};