diff --git a/src/api/modules/courseFile.js b/src/api/modules/courseFile.js index ee84dd57..ac14a174 100644 --- a/src/api/modules/courseFile.js +++ b/src/api/modules/courseFile.js @@ -22,7 +22,7 @@ const pageList = function(data) { /** * 选择课件的查询,这里也是分页查询,只是返回的内容,字段会很少,用于课件制作那选择已有课件内容。 - * + * * @param {Object} data * 查询参数如上面pageList方法 */ @@ -47,7 +47,9 @@ const findList = function(data) { } */ const saveUpload = function(data) { - return ajax.post('/xboe/m/course/file/upload/save', data); + return ajax.post('/xboe/m/course/file/upload/save', data, { + timeout: 60000 + }); } /** @@ -88,4 +90,4 @@ export default { batchUpdate, detail, delFile -} \ No newline at end of file +}