소스 검색

根据eslint调整代码

zhangzf 5 시간 전
부모
커밋
bfdaaf8e3e
1개의 변경된 파일과 1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/app/(public)/customer/(has-dashboard)/order/view/order_id/[id]/_components/ProductList.tsx

+ 1 - 0
src/app/(public)/customer/(has-dashboard)/order/view/order_id/[id]/_components/ProductList.tsx

@@ -66,6 +66,7 @@ export default function ProductList({ orderData }: Props) {
             const imgJson = JSON.parse(item.baseImage);
             imgUrl = imgJson.small_image_url;
           } catch (err) {
+            console.log(err);
             imgUrl = "";
           }
           return (