Commit 18c17b36 authored by baixian's avatar baixian

潜客管理导出修复

parent 5a8fb662
...@@ -489,13 +489,13 @@ export default { ...@@ -489,13 +489,13 @@ export default {
url: signature.host, url: signature.host,
}; };
const uploadExcel = yield call(uploader.uploadImg, params); const uploadExcel = yield call(uploader.uploadImg, params);
const fileName = `https://shangjiadao.oss-cn-hangzhou.aliyuncs.com/${filename}`; const fileName = `https://shangjiadao.oss-cn-hangzhou.aliyuncs.com/${signature.path}`;
document.getElementById('uploadexcel').value = ''; document.getElementById('uploadexcel').value = '';
yield put({ yield put({
type: 'uploadStudents', type: 'uploadStudents',
payload: { payload: {
uploaderLoading, uploaderLoading,
file_name: signature.path, file_name: fileName,
file_info: JSON.stringify({ file_info: JSON.stringify({
name: file.name || '', name: file.name || '',
size: file.size || '', size: file.size || '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment