Добавил ProgressPage

This commit is contained in:
Book Pauk
2019-01-13 18:06:29 +07:00
parent 99a7f830ec
commit a2300900be
5 changed files with 113 additions and 17 deletions

View File

@@ -29,7 +29,7 @@ class Reader {
if (callback)
callback(Object.assign({},
response.data,
{state: 'loading', stage: 4, progress: Math.round((progress.loaded*100)/progress.total)}
{state: 'loading', step: 4, progress: Math.round((progress.loaded*100)/progress.total)}
));
}
}