清除debug

This commit is contained in:
al 2024-10-22 17:27:15 +08:00
parent 3640f6084c
commit 6c3b9fb936
10 changed files with 1 additions and 20 deletions

View File

@ -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) => {

View File

@ -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",

View File

@ -179,7 +179,6 @@ export default function EditPassword() {
{/* 内容 */}
<div className="pt-32 px-4">
<p className="text-3xl text-white font-medium">
{/* {console.log(mobilePhone, "cccc")} */}
{searchParams.get("is_enabled") == "0"
? "设置密码"
: mobilePhone

View File

@ -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) {

View File

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

View File

@ -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({

View File

@ -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",

View File

@ -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: {

View File

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

View File

@ -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: "上传视频失败",