1234567891011121314 |
- const INIT_LOGIN_AUTH = 'INIT_LOGIN_AUTH';
-
- function setInitLoginLocal(){
- localStorage.setItem(INIT_LOGIN_AUTH,true);
- }
-
- function getInitLoginLocal(){
- return JSON.parse(localStorage.getItem(INIT_LOGIN_AUTH));
- }
-
-
- function removeInitLoginLocal(){
- localStorage.setItem(INIT_LOGIN_AUTH,false);
- }
|