Invalid prop: type check failed for prop "total". Expected Number with value 0, got String with value "".
这里的total应该写int类型,而我定义成立' '字符串类型
改成10或其他数字即可
Invalid prop: type check failed for prop "total". Expected Number with value 0, got String with value "".
这里的total应该写int类型,而我定义成立' '字符串类型
改成10或其他数字即可