From 6c3b9fb936904a9e4024dc2ce5e9a7e868a153c0 Mon Sep 17 00:00:00 2001 From: al Date: Tue, 22 Oct 2024 17:27:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E9=99=A4debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/messageDetail/page.js | 9 --------- app/my/createProfile/page.jsx | 1 - app/my/setting/editPassword/page.js | 1 - .../afterSubmitStreamerVerification/page.jsx | 1 - .../completeStreamerInformation/page.jsx | 2 -- app/my/streamerVerification/joinStreamer/page.jsx | 1 - app/space/setting/spacePaymentSetting/page.jsx | 1 - components/PostItem/index.js | 2 -- utils/requireAPI.js | 1 - utils/upload.js | 2 +- 10 files changed, 1 insertion(+), 20 deletions(-) diff --git a/app/messageDetail/page.js b/app/messageDetail/page.js index 7804da4..fe3a6b9 100644 --- a/app/messageDetail/page.js +++ b/app/messageDetail/page.js @@ -78,15 +78,6 @@ export default function MessageDetail({}) { toScrollBottom.current = 0; } }, [messages]); - // useEffect(() => { - // if (offset == 12) { - // console.log("offset--------", offset); - - // scrollBox.current?.scrollTo(0, scrollBox.current.scrollHeight); - - // // console.log("scrollBox.current",scrollBox.current.scrollHeight,scrollBox.current.scrollTop) - // } - // }, [offset]); useEffect(() => { if (sessionId && userInfo.mid) { loadEarlierHistory().then((res) => { diff --git a/app/my/createProfile/page.jsx b/app/my/createProfile/page.jsx index aa548dd..7e07923 100644 --- a/app/my/createProfile/page.jsx +++ b/app/my/createProfile/page.jsx @@ -146,7 +146,6 @@ export default function CreateProfile() { Object.values(superSingle).forEach((it) => { if (it.enable) { const superFanPrice = it.price; - console.log("superFanPrice", superFanPrice); if (!superFanPrice) { Toast.show({ icon: "fail", diff --git a/app/my/setting/editPassword/page.js b/app/my/setting/editPassword/page.js index 0bf9fd5..d17a50c 100644 --- a/app/my/setting/editPassword/page.js +++ b/app/my/setting/editPassword/page.js @@ -179,7 +179,6 @@ export default function EditPassword() { {/* 内容 */}

- {/* {console.log(mobilePhone, "cccc")} */} {searchParams.get("is_enabled") == "0" ? "设置密码" : mobilePhone diff --git a/app/my/streamerVerification/afterSubmitStreamerVerification/page.jsx b/app/my/streamerVerification/afterSubmitStreamerVerification/page.jsx index 9542aa7..3262ce0 100644 --- a/app/my/streamerVerification/afterSubmitStreamerVerification/page.jsx +++ b/app/my/streamerVerification/afterSubmitStreamerVerification/page.jsx @@ -11,7 +11,6 @@ export default function AfterSubmitStreamerVerification() { const [wechatList, setWechatList] = useState([]); useEffect(() => { const getWechat = async () => { - console.log("ddddd"); try { const data = await requireAPI("POST", "/api/support_wx_id/list", null); if (data.ret === -1) { diff --git a/app/my/streamerVerification/completeStreamerInformation/page.jsx b/app/my/streamerVerification/completeStreamerInformation/page.jsx index f5c9676..ed97be7 100644 --- a/app/my/streamerVerification/completeStreamerInformation/page.jsx +++ b/app/my/streamerVerification/completeStreamerInformation/page.jsx @@ -220,7 +220,6 @@ export default function CompleteStreamerInformation() { valueT: item, }) ); - console.log("tagNamesOptions", tagNamesOptions); setFieldNamesOptions(tagNamesOptions); //获取当前审批状态 const statusData = await requireAPI( @@ -305,7 +304,6 @@ export default function CompleteStreamerInformation() { displayImage, displayVideo, } = values; - debugger; if ( !fans || !gender || diff --git a/app/my/streamerVerification/joinStreamer/page.jsx b/app/my/streamerVerification/joinStreamer/page.jsx index ef11acb..bb4a3a5 100644 --- a/app/my/streamerVerification/joinStreamer/page.jsx +++ b/app/my/streamerVerification/joinStreamer/page.jsx @@ -37,7 +37,6 @@ export default function JoinStreamer() { } setIsSubmitting(true); const account = await get("account"); - console.log("ffffff", values); const account_shot = await multiUploadImage(values.imageAssets, 1); if (!account_shot.image_ids.length) { Toast.show({ diff --git a/app/space/setting/spacePaymentSetting/page.jsx b/app/space/setting/spacePaymentSetting/page.jsx index a52ba0e..a994577 100644 --- a/app/space/setting/spacePaymentSetting/page.jsx +++ b/app/space/setting/spacePaymentSetting/page.jsx @@ -144,7 +144,6 @@ export default function spacePaymentSetting() { Object.values(superSingle).forEach((it) => { if (it.enable) { const superFanPrice = it.price; - console.log("superFanPrice", superFanPrice); if (!superFanPrice) { Toast.show({ icon: "fail", diff --git a/components/PostItem/index.js b/components/PostItem/index.js index 3981ad1..84dba53 100644 --- a/components/PostItem/index.js +++ b/components/PostItem/index.js @@ -73,8 +73,6 @@ export default function PostItem({ return `${time}日前`; }, []); const handleDelete = async () => { - console.log(data); - debugger; try { const _data = await requireAPI("POST", "/api/zone_moment/delete", { body: { diff --git a/utils/requireAPI.js b/utils/requireAPI.js index 0900f7b..496b2a3 100644 --- a/utils/requireAPI.js +++ b/utils/requireAPI.js @@ -24,7 +24,6 @@ export default function customFetch(method, url, options = {}, needMid) { newBody.mid = mid; } const body = JSON.stringify({ ...base, ...newBody }); - console.log("newBody", body, url); // 合并选项 const mergedOptions = { ...defaultOptions, body }; diff --git a/utils/upload.js b/utils/upload.js index 86b3740..dd3f109 100644 --- a/utils/upload.js +++ b/utils/upload.js @@ -397,7 +397,7 @@ export async function uploadVideo(asset) { return failId?.video_id_for_upload_fail; } } catch (error) { - console.log("Error occurred while getting or uploading data:", error); + // console.log("Error occurred while getting or uploading data:", error); Toast.show({ icon: "fail", content: "上传视频失败",