return state$.select(state => {
return state.user.access_token !== ''});
这是我得到的错误,
[tslint]缺少分号(分号)
答案 0 :(得分:3)
添加分号:
return state$.select(state => {
return state.user.access_token !== '';
});
或者只是这样做:
return state$.select(state => state.user.access_token !== '');