添加加载中。

feature_0521
kevin jiang 5 years ago
parent ee145885f2
commit 0e426c4a00

@ -12,8 +12,8 @@ import http from '../CommonHttp'
* @param call 成功的回调 * @param call 成功的回调
* @returns {Promise<any>} 返回Promise对象 * @returns {Promise<any>} 返回Promise对象
*/ */
export function getStaffList(params, call) { export function getStaffList(params, call, errorCallback) {
return http.get('/store/staff/list', params).then(call) return http.get('/store/staff/list', params).then(call).catch(errorCallback)
} }
/** /**

Loading…
Cancel
Save