清除debug
This commit is contained in:
parent
3640f6084c
commit
6c3b9fb936
|
@ -78,15 +78,6 @@ export default function MessageDetail({}) {
|
||||||
toScrollBottom.current = 0;
|
toScrollBottom.current = 0;
|
||||||
}
|
}
|
||||||
}, [messages]);
|
}, [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(() => {
|
useEffect(() => {
|
||||||
if (sessionId && userInfo.mid) {
|
if (sessionId && userInfo.mid) {
|
||||||
loadEarlierHistory().then((res) => {
|
loadEarlierHistory().then((res) => {
|
||||||
|
|
|
@ -146,7 +146,6 @@ export default function CreateProfile() {
|
||||||
Object.values(superSingle).forEach((it) => {
|
Object.values(superSingle).forEach((it) => {
|
||||||
if (it.enable) {
|
if (it.enable) {
|
||||||
const superFanPrice = it.price;
|
const superFanPrice = it.price;
|
||||||
console.log("superFanPrice", superFanPrice);
|
|
||||||
if (!superFanPrice) {
|
if (!superFanPrice) {
|
||||||
Toast.show({
|
Toast.show({
|
||||||
icon: "fail",
|
icon: "fail",
|
||||||
|
|
|
@ -179,7 +179,6 @@ export default function EditPassword() {
|
||||||
{/* 内容 */}
|
{/* 内容 */}
|
||||||
<div className="pt-32 px-4">
|
<div className="pt-32 px-4">
|
||||||
<p className="text-3xl text-white font-medium">
|
<p className="text-3xl text-white font-medium">
|
||||||
{/* {console.log(mobilePhone, "cccc")} */}
|
|
||||||
{searchParams.get("is_enabled") == "0"
|
{searchParams.get("is_enabled") == "0"
|
||||||
? "设置密码"
|
? "设置密码"
|
||||||
: mobilePhone
|
: mobilePhone
|
||||||
|
|
|
@ -11,7 +11,6 @@ export default function AfterSubmitStreamerVerification() {
|
||||||
const [wechatList, setWechatList] = useState([]);
|
const [wechatList, setWechatList] = useState([]);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const getWechat = async () => {
|
const getWechat = async () => {
|
||||||
console.log("ddddd");
|
|
||||||
try {
|
try {
|
||||||
const data = await requireAPI("POST", "/api/support_wx_id/list", null);
|
const data = await requireAPI("POST", "/api/support_wx_id/list", null);
|
||||||
if (data.ret === -1) {
|
if (data.ret === -1) {
|
||||||
|
|
|
@ -220,7 +220,6 @@ export default function CompleteStreamerInformation() {
|
||||||
valueT: item,
|
valueT: item,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
console.log("tagNamesOptions", tagNamesOptions);
|
|
||||||
setFieldNamesOptions(tagNamesOptions);
|
setFieldNamesOptions(tagNamesOptions);
|
||||||
//获取当前审批状态
|
//获取当前审批状态
|
||||||
const statusData = await requireAPI(
|
const statusData = await requireAPI(
|
||||||
|
@ -305,7 +304,6 @@ export default function CompleteStreamerInformation() {
|
||||||
displayImage,
|
displayImage,
|
||||||
displayVideo,
|
displayVideo,
|
||||||
} = values;
|
} = values;
|
||||||
debugger;
|
|
||||||
if (
|
if (
|
||||||
!fans ||
|
!fans ||
|
||||||
!gender ||
|
!gender ||
|
||||||
|
|
|
@ -37,7 +37,6 @@ export default function JoinStreamer() {
|
||||||
}
|
}
|
||||||
setIsSubmitting(true);
|
setIsSubmitting(true);
|
||||||
const account = await get("account");
|
const account = await get("account");
|
||||||
console.log("ffffff", values);
|
|
||||||
const account_shot = await multiUploadImage(values.imageAssets, 1);
|
const account_shot = await multiUploadImage(values.imageAssets, 1);
|
||||||
if (!account_shot.image_ids.length) {
|
if (!account_shot.image_ids.length) {
|
||||||
Toast.show({
|
Toast.show({
|
||||||
|
|
|
@ -144,7 +144,6 @@ export default function spacePaymentSetting() {
|
||||||
Object.values(superSingle).forEach((it) => {
|
Object.values(superSingle).forEach((it) => {
|
||||||
if (it.enable) {
|
if (it.enable) {
|
||||||
const superFanPrice = it.price;
|
const superFanPrice = it.price;
|
||||||
console.log("superFanPrice", superFanPrice);
|
|
||||||
if (!superFanPrice) {
|
if (!superFanPrice) {
|
||||||
Toast.show({
|
Toast.show({
|
||||||
icon: "fail",
|
icon: "fail",
|
||||||
|
|
|
@ -73,8 +73,6 @@ export default function PostItem({
|
||||||
return `${time}日前`;
|
return `${time}日前`;
|
||||||
}, []);
|
}, []);
|
||||||
const handleDelete = async () => {
|
const handleDelete = async () => {
|
||||||
console.log(data);
|
|
||||||
debugger;
|
|
||||||
try {
|
try {
|
||||||
const _data = await requireAPI("POST", "/api/zone_moment/delete", {
|
const _data = await requireAPI("POST", "/api/zone_moment/delete", {
|
||||||
body: {
|
body: {
|
||||||
|
|
|
@ -24,7 +24,6 @@ export default function customFetch(method, url, options = {}, needMid) {
|
||||||
newBody.mid = mid;
|
newBody.mid = mid;
|
||||||
}
|
}
|
||||||
const body = JSON.stringify({ ...base, ...newBody });
|
const body = JSON.stringify({ ...base, ...newBody });
|
||||||
console.log("newBody", body, url);
|
|
||||||
|
|
||||||
// 合并选项
|
// 合并选项
|
||||||
const mergedOptions = { ...defaultOptions, body };
|
const mergedOptions = { ...defaultOptions, body };
|
||||||
|
|
|
@ -397,7 +397,7 @@ export async function uploadVideo(asset) {
|
||||||
return failId?.video_id_for_upload_fail;
|
return failId?.video_id_for_upload_fail;
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log("Error occurred while getting or uploading data:", error);
|
// console.log("Error occurred while getting or uploading data:", error);
|
||||||
Toast.show({
|
Toast.show({
|
||||||
icon: "fail",
|
icon: "fail",
|
||||||
content: "上传视频失败",
|
content: "上传视频失败",
|
||||||
|
|
Loading…
Reference in New Issue