huangbin hace 4 años
padre
commit
f8e129b6aa

+ 3 - 0
src/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_swap/components/post_buying/index.vue

@@ -127,6 +127,8 @@
                  class="fixedBtns">
             <a-form-item class="btnCenter">
               <a-button class="listedBtn"
+                        :loading="loading"
+                        :disabled="loading"
                         @click="submit">{{isBuy() ? '买入' : '卖出'}}</a-button>
               <a-button class="ml10 cancelBtn"
                         @click="cancel">取消</a-button>
@@ -333,6 +335,7 @@ export default defineComponent({
             ...usePrice(),
             ...useNum(getMaxNum),
             getPrice,
+            loading,
         };
     },
 });