From 1413751c95bd6d114a46a5f99e2bf822fccfc819 Mon Sep 17 00:00:00 2001 From: al Date: Tue, 5 Nov 2024 21:34:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B8=96=E5=AD=90=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=B0=BA=E5=AF=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/my/createProfile/page.jsx | 2 +- app/space/setting/spacePaymentSetting/page.jsx | 2 -- utils/upload.js | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) 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();