From 2f4b958b6230962ac4e2f1f03d639ba35b4bdadb Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Wed, 09 Jul 2025 16:15:55 +0800
Subject: [PATCH] style

---
 src/components/constract/PerpetualContract/orderCom/openDialog.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/constract/PerpetualContract/orderCom/openDialog.vue b/src/components/constract/PerpetualContract/orderCom/openDialog.vue
index 726ea64..8f20623 100644
--- a/src/components/constract/PerpetualContract/orderCom/openDialog.vue
+++ b/src/components/constract/PerpetualContract/orderCom/openDialog.vue
@@ -134,9 +134,10 @@
     close() {
       this.isShow = false;
     },
-    handleSubmit() {
+    handleSubmit(type) {
+      console.log("handleSubmit: ", type, this.sellOrBuy);
       const data = {
-        direction: this.sellOrBuy,
+        direction: type || this.sellOrBuy,
         price_type: this.type,
         ...this.info, //价格,数量,杠杆,symbol
       };

--
Gitblit v1.9.3