diff --git a/src/i18n/en.json b/src/i18n/en.json index a346902..4845cff 100644 --- a/src/i18n/en.json +++ b/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", diff --git a/src/views/contract/handicap.vue b/src/views/contract/handicap.vue index 968a3af..0df9423 100644 --- a/src/views/contract/handicap.vue +++ b/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-----')