Browse Source

fix(photography): 修复商品列表检查逻辑

- 注释掉 isGoodsStillInList 检查以解决商品状态同步问题
- 防止因商品不在列表中而跳过必要的套接字连接操作
panqiuyao 1 ngày trước cách đây
mục cha
commit
5bf91707b0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      frontend/src/views/Photography/mixin/usePhotography.ts

+ 1 - 1
frontend/src/views/Photography/mixin/usePhotography.ts

@@ -102,7 +102,7 @@ export default function usePhotography() {
       }
       const timeoutId = setTimeout(async () => {
         segmentQueue.delete(goodsArtNo)
-        if (!isGoodsStillInList(goodsArtNo)) return
+      //  if (!isGoodsStillInList(goodsArtNo)) return
         try {
           await socketStore.connectSocket();