Closed Liqiankun closed 5 years ago
Here is my code
export function fetchUserList() { return { type: GET_HOME_DATA, payload: { request: { method: 'GET', url: `/users`, params: { name: 'Lee' } } } } }
Is this the right way?
This is the right way! I tested it!
Is this the right way?