ts中localStorage.getItem、window.location报错


改成:
JSON.parse(localStorage.getItem('admin.routes') || '{}')
(<any>window).location = ''
ts中localStorage.getItem、window.location报错


改成:
JSON.parse(localStorage.getItem('admin.routes') || '{}')
(<any>window).location = ''
1015
3288

被折叠的 条评论
为什么被折叠?