浏览代码

不主动刷新掉期订单

li.shaoyi 3 年之前
父节点
当前提交
d3d5d09ef0
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/views/order/swap_the_order/components/swap_commodity_contract_summary/index.vue

+ 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();