保存进度!
This commit is contained in:
@@ -44,7 +44,7 @@ function saveStaffInfo( stuff: StaffInfo ): void
|
||||
const json = JSON.stringify( stuff );
|
||||
|
||||
window.localStorage.setItem( STUFF_ITEM, json );
|
||||
};
|
||||
}
|
||||
|
||||
function cleanStaffInfo(): void
|
||||
{
|
||||
@@ -102,7 +102,8 @@ function clearCallerInfo(): void
|
||||
window.localStorage.removeItem( CALLER_ITEM );
|
||||
}
|
||||
|
||||
export {
|
||||
export
|
||||
{
|
||||
loadStaffInfo,
|
||||
saveStaffInfo,
|
||||
cleanStaffInfo,
|
||||
|
Reference in New Issue
Block a user