Browse Source

去除前端价格处理

master
luyisha 3 years ago
parent
commit
b432d5655c
  1. 3
      src/views/contract/handicap.vue

3
src/views/contract/handicap.vue

@ -199,7 +199,8 @@ export default {
this.linkSocket();
}
bus.$on('collapse', msg => {
this.newPriceObj.price =this.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3);
// this.newPriceObj.price =this.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3);
this.newPriceObj.price = msg.close;
this.$emit("input", this.newPriceObj);
// console.log(this.newPriceObj.price, 'this.newPriceObj.price-----')
});

Loading…
Cancel
Save