feat: Add Stability API server relay sending

This commit is contained in:
licoy
2024-07-09 09:50:04 +08:00
parent a16725ac17
commit 2b0153807c
10 changed files with 220 additions and 31 deletions

View File

@@ -425,11 +425,12 @@ export function showPrompt(content: any, value = "", rows = 3) {
});
}
export function showImageModal(img: string) {
export function showImageModal(img: string, defaultMax?: boolean) {
showModal({
title: Locale.Export.Image.Modal,
defaultMax: defaultMax,
children: (
<div>
<div style={{ display: "flex", justifyContent: "center" }}>
<img
src={img}
alt="preview"