|
@@ -166,7 +166,7 @@ export default {
|
|
|
this.showIndexOfMoney=this.$api.FormatMoney(this.ableUserMoney)
|
|
|
this.smallMoney=".00"
|
|
|
}else{
|
|
|
- this.smallMoney = this.ableUserMoney.toString().substring(i);
|
|
|
+ this.smallMoney = this.ableUserMoney.toString().substring(i,i+3);
|
|
|
this.showIndexOfMoney= this.$api.FormatMoney(this.ableUserMoney.toString().substring(0,i))
|
|
|
if(this.smallMoney.length == 2) { //补0,实际上用不着
|
|
|
this.smallMoney = this.smallMoney + '0';
|