Commit cab3f3ee authored by rocosen's avatar rocosen

Update login.jsx

parent 6203cc03
...@@ -85,6 +85,7 @@ export default (props) => { ...@@ -85,6 +85,7 @@ export default (props) => {
} }
if (!localStorage.getItem('stay')) { if (!localStorage.getItem('stay')) {
setChecked(true)
localStorage.setItem('stay', '1'); localStorage.setItem('stay', '1');
} }
}, []); }, []);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment