提交 e3c1fe7e 编写于 作者: P peterq

fix: 下载进度显示错误. issue: #4

上级 f2078353
......@@ -17,7 +17,7 @@ Item {
property string resumeData: ''
property bool isNewAdd: true
property string downloadState: ''
property int progress: 0
property real progress: 0
property string errString: ''
property bool isQueued: false
......@@ -118,7 +118,7 @@ Item {
onTaskEvent: {
// 更新下载速度
if (event === 'task.speed') {
if (event === 'task.speed') {
speed = Util.humanSize(data.speed) + '/s'
speedInt = data.speed
speedClearTimer.restart()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册