Browse Source

修改单词

master
liaoxinyu 2 years ago
parent
commit
596ea736db
  1. 4
      src/i18n/en.json
  2. 8
      src/views/contract/handicap.vue

4
src/i18n/en.json

@ -906,7 +906,7 @@
"c9": "Full deal",
"d0": "Open long",
"d1": "Close Short",
"d2": "Open short",
"d2": "Open Short",
"d3": "Close Long",
"d4": "Undo successfully",
"d5": "Open",
@ -959,7 +959,7 @@
"i2": "Order History",
"i3": "Side",
"i4": "Open Long",
"i5": "Open short",
"i5": "Open Short",
"i6": "Only display current",
"i7": "TP",
"i8": "SL",

8
src/views/contract/handicap.vue

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

Loading…
Cancel
Save