mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-01-08 21:08:10 +00:00
Update Container.js
保护机制
This commit is contained in:
parent
79a23953dd
commit
07d42ee133
@ -99,11 +99,6 @@ const Container = memo(props => {
|
||||
});
|
||||
return arr;
|
||||
}, []);
|
||||
// 存储用户唯一信息
|
||||
if (!localStorage.getItem('uid') || !sessionStorage.getItem('sid')) {
|
||||
localStorage.setItem('uid', uuid(8, 10));
|
||||
sessionStorage.setItem('sid', uuid(5, 10));
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={styles.editorWrap}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user