ソースを参照

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

- 注释掉 isGoodsStillInList 检查以解决商品状态同步问题
- 防止因商品不在列表中而跳过必要的套接字连接操作
panqiuyao 1 日 前
コミット
5bf91707b0
1 ファイル変更1 行追加1 行削除
  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();