mirror of
https://github.com/BlueSkyXN/WorkerJS_CloudFlare_ImageBed.git
synced 2024-11-16 03:32:26 +08:00
20240326-1451
This commit is contained in:
parent
0edc28dc58
commit
40f87ad3c9
|
@ -16,7 +16,7 @@
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column; /* 不同框之间纵向排列 */
|
flex-direction: column; /* 修改这里 */
|
||||||
}
|
}
|
||||||
.preview-container {
|
.preview-container {
|
||||||
max-width: calc(100% - 20px); /* 图片预览容器的最大宽度为外部框架宽度减去左右 padding */
|
max-width: calc(100% - 20px); /* 图片预览容器的最大宽度为外部框架宽度减去左右 padding */
|
||||||
|
@ -86,7 +86,9 @@
|
||||||
|
|
||||||
// 清除旧的结果
|
// 清除旧的结果
|
||||||
resultContainer.innerHTML = '';
|
resultContainer.innerHTML = '';
|
||||||
resultContainer.style.display = 'none';
|
|
||||||
|
resultContainer.style.display = 'block'; // 修改这里
|
||||||
|
|
||||||
|
|
||||||
for (const file of fileInput.files) {
|
for (const file of fileInput.files) {
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user