window.localStorage.setItem的理解与使用
最近接触的一个小项目中频繁看到一个新的面孔: changeTheme () { dispatch({ type: 'app/switchTheme' }) }, changeOpenKeys (openKeys) { window.localStorage.setItem(`${prefix}navOpenKeys`, JSON.stringify(o...
原创
2018-07-19 11:34:18 ·
48133 阅读 ·
0 评论