update 添加银川大屏
This commit is contained in:
@@ -19,21 +19,23 @@ export const caching = {
|
||||
PAGE2_RIGHT2: 'PAGE2_RIGHT2',
|
||||
//心血管监测-预警
|
||||
PAGE2_RIGHT3: 'PAGE2_RIGHT3',
|
||||
|
||||
// 一线医疗点每日工作动态
|
||||
WORK_DAILY: 'WORK_DAILY',
|
||||
//员工队伍健康状况
|
||||
TEAM_HEALTH: 'TEAM_HEALTH',
|
||||
};
|
||||
|
||||
export function useSession() {
|
||||
function getSession(key: string) {
|
||||
return localStorage.getItem(key)
|
||||
return localStorage.getItem(key);
|
||||
}
|
||||
|
||||
function setSession(key: string, value: any) {
|
||||
localStorage.setItem(key, value)
|
||||
localStorage.setItem(key, value);
|
||||
}
|
||||
|
||||
|
||||
return {
|
||||
getSession,
|
||||
setSession
|
||||
}
|
||||
}
|
||||
setSession,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user