diff --git a/app/my/createProfile/page.jsx b/app/my/createProfile/page.jsx index b536ef7..6244122 100644 --- a/app/my/createProfile/page.jsx +++ b/app/my/createProfile/page.jsx @@ -522,7 +522,7 @@ export default function CreateProfile() { }} onClick={handleSubmit} > - {isSubmitting ? "正在保存..." : "保存设置"} + {isSubmitting ? "正在保存..." : "开通空间"} diff --git a/app/space/setting/spacePaymentSetting/page.jsx b/app/space/setting/spacePaymentSetting/page.jsx index 33fa690..7f6350d 100644 --- a/app/space/setting/spacePaymentSetting/page.jsx +++ b/app/space/setting/spacePaymentSetting/page.jsx @@ -204,8 +204,6 @@ export default function spacePaymentSetting() { const openSuperEveryFalse = Object.values(superSingle).every( (it) => !it.enable ); - debugger; - if (!spacePrice || !ironFanPrice || (openSuper && openSuperEveryFalse)) { Toast.show({ icon: "fail", diff --git a/utils/upload.js b/utils/upload.js index 2ef373a..e0f7d4e 100644 --- a/utils/upload.js +++ b/utils/upload.js @@ -238,7 +238,7 @@ export async function uploadImage(asset, h, w) { src_id: auth.directory + "/" + auth.filename, md5: info.md5Hash, h: h || info.height, - w: h || info.height, + w: w || info.width, fmt: asset.type, }; const base = baseRequest();