0๐
โ
You are concatening '%'
twice:
:style="{ width: percentage + '%' }"
and
_this.percentage = Math.floor(_this.downloaded / _this.total * 100) + ' %'
Do it only in one place and it will work fine.
0๐
you have mention percentage as 0 may be thats why its not changing the width
Source:stackexchange.com