|
@@ -31,7 +31,7 @@ import LoginBox from "../user/components/LoginBox";
|
|
|
import BottomBarContext from "@/context/bottomBarContext";
|
|
|
|
|
|
const Home = () => {
|
|
|
- const channelCode = StorageUtil.get(EStorage.channelCode) || "";
|
|
|
+ const channelCode: any = StorageUtil.get(EStorage.channelCode) || "";
|
|
|
|
|
|
const bottomBarContext = useContext(BottomBarContext);
|
|
|
|
|
@@ -51,7 +51,10 @@ const Home = () => {
|
|
|
|
|
|
const channelResult: any = useRequest(() => {
|
|
|
return UserApi.homeFetchChannel({
|
|
|
- data: { channelCode: APPConfig.CHANNELCODE, refer: "" },
|
|
|
+ data: {
|
|
|
+ channelCode: channelCode || APPConfig.CHANNELCODE,
|
|
|
+ refer: "",
|
|
|
+ },
|
|
|
})
|
|
|
.toData()
|
|
|
.then((res) => {
|