输出出来怎么是1000<500?而不是1000>500??
收起
用 parseInt()转一下。两处判断的地方:
else if(parseInt(this.data.income)< parseInt(this.data.money))
报告相同问题?