Dialog.clear()}
- >
-
+
+
+
+
Dialog.clear()}
+ >
+
+
-
-
- {/*
*/}
- {/*
*/}
-
- {/*
*/}
+
+ {/*
*/}
-
- {/*
+ {/*
saveFile(video.mp4)}
>
*/}
+
),
bodyStyle: {
diff --git a/components/StreamerNavigator/index.js b/components/StreamerNavigator/index.js
index 9fadfa1..a5f46ea 100644
--- a/components/StreamerNavigator/index.js
+++ b/components/StreamerNavigator/index.js
@@ -2,19 +2,19 @@
import React, { useEffect, useState } from "react";
import { Mask, Image,Button } from "antd-mobile";
-import {getStreamerInfo} from "@/api/space";
+import {getStreamer} from "@/api/streamer";
import { useRouter } from "next/navigation";
import {remove} from "@/utils/storeInfo"
export default function StreamerNavigator({
visible,
- mid,
+ userId,
setVisible
}) {
const [streamerInfo,setStreamerInfo] = useState(null);
const router = useRouter();
useEffect(()=>{
- getStreamerInfo(mid).then(res=>{
+ getStreamer(userId).then(res=>{
setStreamerInfo(res);
})
},[])