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