فهرست منبع

🐛热门馆藏 下拉框参数问题

shaogen1995 2 سال پیش
والد
کامیت
b11d406100
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      houtai/src/pages/A1Hot/index.tsx

+ 2 - 2
houtai/src/pages/A1Hot/index.tsx

@@ -146,7 +146,7 @@ function Hot() {
 
     const res3 = await getHotGoodsAPI(
       select1Ref.current,
-      select2Ref.current ? select2Ref.current : "visit"
+      select3Ref.current ? select3Ref.current : "visit"
     );
     const data3: HotData1Type[] = res3.data;
 
@@ -179,7 +179,7 @@ function Hot() {
     // console.log("3获取馆藏数据", select1Ref.current, select3Ref.current);
     const res = await getHotGoodsAPI(
       select1Ref.current,
-      select2Ref.current ? select2Ref.current : "visit"
+      select3Ref.current ? select3Ref.current : "visit"
     );
     const data: HotData1Type[] = res.data;