type check failed for prop “total“. Expected Number with value 0, got String with value ““

报错如下

原因:数字类型却给了一个'',total的初始值改为0即可

total:'', ==> total:0,

 

Guess you like

Origin blog.csdn.net/xingsfdz/article/details/115195630