|
|
@@ -190,6 +190,9 @@ export const useSBYJOrderStore = defineStore(() => {
|
|
|
// 接收委托单成交通知
|
|
|
const orderDealedNtf = eventBus.$on('OrderDealedNtf', () => getSBYJMyOrders())
|
|
|
|
|
|
+ // 接收头寸变化通知通知
|
|
|
+ const posChangedNtf = eventBus.$on('PosChangedNtf', () => getSBYJMyOrders())
|
|
|
+
|
|
|
// 接收登入请求数据
|
|
|
eventBus.$on('LoginNotify', () => {
|
|
|
getSBYJMyOrders()
|
|
|
@@ -206,6 +209,7 @@ export const useSBYJOrderStore = defineStore(() => {
|
|
|
getSBYJMyOrders,
|
|
|
getOrderListByGoodsId,
|
|
|
orderDealedNtf,
|
|
|
+ posChangedNtf,
|
|
|
subscribe
|
|
|
}
|
|
|
})
|