src/api/index.js @@ -119,7 +119,7 @@ * @description 直接请求 * @param {Object} param 查询及提交参数 */ directRequest (url, method, param) { directRequest (url, method = 'post', param) { let params = { method: 'post' } let _url = url