修复帖子图片尺寸问题
This commit is contained in:
parent
d788e19a44
commit
1413751c95
|
@ -522,7 +522,7 @@ export default function CreateProfile() {
|
|||
}}
|
||||
onClick={handleSubmit}
|
||||
>
|
||||
{isSubmitting ? "正在保存..." : "保存设置"}
|
||||
{isSubmitting ? "正在保存..." : "开通空间"}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue