Explorar o código

不主动刷新掉期订单

li.shaoyi %!s(int64=3) %!d(string=hai) anos
pai
achega
d3d5d09ef0

+ 1 - 3
src/views/order/swap_the_order/components/swap_commodity_contract_summary/index.vue

@@ -142,9 +142,7 @@ export default defineComponent({
       btnList, // 表格按钮
     } = handleComposeOrderTable<QueryTradeHolderDetailRsp>(param)
 
-    const stopNotify = Bus.$on(['posChangedNtf', 'spotTrade'], () => {
-      queryTableAction()
-    });
+    const stopNotify = Bus.$on('posChangedNtf', () => queryTableAction());
 
     onBeforeUnmount(() => {
       stopNotify();