From f0ff93bd4b1636ed99f637b86cd4f0b8af63414d Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Tue, 03 Jun 2025 18:34:32 +0800
Subject: [PATCH] style
---
src/components/constract/PerpetualContract/createOrder.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/components/constract/PerpetualContract/createOrder.vue b/src/components/constract/PerpetualContract/createOrder.vue
index 82f4a19..59adfdd 100644
--- a/src/components/constract/PerpetualContract/createOrder.vue
+++ b/src/components/constract/PerpetualContract/createOrder.vue
@@ -317,10 +317,18 @@
getMargin: function () {
const amount = this.inputAmount;
let data = "0.00";
+ console.log(
+ "getMargin",
+ this.isActive,
+ amount,
+ this.lever_rate,
+ this.sessionObj.amount,
+ this.current_lever_rate_num
+ );
if (
this.isActive === 0 &&
- amount != undefined &&
- this.lever_rate.length != undefined &&
+ amount !== undefined &&
+ this.lever_rate.length !== undefined &&
this.sessionObj.amount
) {
if (this.lever_rate.length > 0) {
--
Gitblit v1.9.3