Browse Source

保留三位小数

master
ltlzx 4 years ago
parent
commit
7d571d66db
  1. 2
      src/views/contract/handicap.vue

2
src/views/contract/handicap.vue

@ -191,7 +191,7 @@ export default {
} }
bus.$on('collapse', msg => { bus.$on('collapse', msg => {
// console.info(msg) // console.info(msg)
this.newPriceObj.price = msg.close; this.newPriceObj.price = (msg.close).toFixed(3);
this.$emit("input", this.newPriceObj); this.$emit("input", this.newPriceObj);
}); });
}, },

Loading…
Cancel
Save