摘要:
const setAuth = () => (dispatch, getState) => { const router = getState().getIn(['light', 'router']).toJS() Api.light.testAuthSe... 阅读全文
摘要:
const formatAuthData = ({ authData }) => { const find = (arr, parentId = '') => { for (let i = 0; i 0) { arr[i].id = `... 阅读全文
摘要:
示例 component:.*\n.*\n.*,$ 删除对象中不要的属性及属性值 阅读全文
摘要:
/** * @return {Boolean} */const filter = function (pathname, req) { return pathname.match('^/api') && req.method === 'GET';};co... 阅读全文