save code

This commit is contained in:
xsl
2025-10-08 14:36:05 +08:00
parent 341f81333b
commit 711cfd1502
2 changed files with 127 additions and 17 deletions
+6 -1
View File
@@ -112,6 +112,9 @@
<input type="checkbox" id="tuodiCheckbox"> 设置 tuodi(拖地)
</label>
<br>
<label>
<input type="checkbox" id="suitCheckbox"> 设置 suit(套装)
</label>
<!-- <label>
<input type="checkbox" id="kuziCheckbox"> 设置 kuzi(裤子)
</label> -->
@@ -175,6 +178,7 @@
const kuziFile = document.getElementById('kuziInput').files[0];
const no2 = document.getElementById("no2Checkbox").checked;
const tuodi = document.getElementById("tuodiCheckbox").checked;
const suit = document.getElementById("suitCheckbox").checked;
if (!humanFile || !clothFile) {
@@ -200,7 +204,8 @@
cloth_img: clothDataURL, // 包含完整前缀的Base64
output_format: "url",
no2: no2,
tuodi:tuodi
tuodi:tuodi,
suit:suit
};
if(kuziDataURL)