Merge remote-tracking branch 'origin/anln'

This commit is contained in:
al 2024-11-05 21:40:40 +08:00
commit 39cc2a7cbe
3 changed files with 2 additions and 4 deletions

View File

@ -522,7 +522,7 @@ export default function CreateProfile() {
}} }}
onClick={handleSubmit} onClick={handleSubmit}
> >
{isSubmitting ? "正在保存..." : "保存设置"} {isSubmitting ? "正在保存..." : "开通空间"}
</Button> </Button>
</div> </div>
</div> </div>

View File

@ -204,8 +204,6 @@ export default function spacePaymentSetting() {
const openSuperEveryFalse = Object.values(superSingle).every( const openSuperEveryFalse = Object.values(superSingle).every(
(it) => !it.enable (it) => !it.enable
); );
debugger;
if (!spacePrice || !ironFanPrice || (openSuper && openSuperEveryFalse)) { if (!spacePrice || !ironFanPrice || (openSuper && openSuperEveryFalse)) {
Toast.show({ Toast.show({
icon: "fail", icon: "fail",

View File

@ -238,7 +238,7 @@ export async function uploadImage(asset, h, w) {
src_id: auth.directory + "/" + auth.filename, src_id: auth.directory + "/" + auth.filename,
md5: info.md5Hash, md5: info.md5Hash,
h: h || info.height, h: h || info.height,
w: h || info.height, w: w || info.width,
fmt: asset.type, fmt: asset.type,
}; };
const base = baseRequest(); const base = baseRequest();