li.shaoyi 2 سال پیش
والد
کامیت
e3e5a2e6f4
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      src/packages/pc/components/modules/listing/index.vue

+ 2 - 0
src/packages/pc/components/modules/listing/index.vue

@@ -166,10 +166,12 @@ const onRadioChange = (value: number) => {
 }
 
 const onBuyClick = (price: number) => {
+    formData.BuyOrSell = BuyOrSell.Sell
     formData.OrderPrice = price
 }
 
 const onSellClick = (price: number) => {
+    formData.BuyOrSell = BuyOrSell.Buy
     formData.OrderPrice = price
 }