5.10航天ui交易所pc端,代码jiem-pc
lxf
2025-06-03 f0ff93bd4b1636ed99f637b86cd4f0b8af63414d
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) {
@@ -621,7 +629,7 @@
  color: #fff;
}
.noLogin div:nth-child(1) {
  background: #1d91ff;
  background: #f7b328;
}
.noLogin div:nth-child(2) {
  background: #484d56;