|
|
@@ -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;
|
|
|
|