Skip to content

Commit

Permalink
fix: 修复alpha通道问题
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Apr 5, 2024
1 parent 5fee3a5 commit c8c6f43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ flask = "2.3.2"
flask-cors = "3.0.10"
flask-limiter = "3.3.1"
flask-session = "0.5.0"
handrightbeta = "8.5.1"
handrightbeta = "8.6.0"
importlib-resources = "6.0.0"
itsdangerous = "2.1.2"
jinja2 = "3.1.3"
Expand Down
Binary file modified backend/requirements.txt
Binary file not shown.
4 changes: 2 additions & 2 deletions frontend/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</div>
</button>
<span class="border p-2 fs-6 text-primary nowrap" v-if="selectedImageFileName">{{ selectedImageFileName
}}</span>
}}</span>
<input type="file" ref="imageFileInput" @change="onBackgroundImageChange" style="display: none;" />
<div v-if="isLoading" class="loader">{{ $t('message.loading') }}...</div>
</div>
Expand Down Expand Up @@ -766,7 +766,7 @@ export default {
this.previewImage = URL.createObjectURL(event.target.files[0]);
Swal.fire({
title: '你希望自动识别页面的四周边距吗?(另外现在有个bug就是不能上传带有alpha通道的图片)',
title: '你希望自动识别页面的四周边距吗?',
icon: 'question',
showCancelButton: true,
confirmButtonText: '确定',
Expand Down

0 comments on commit c8c6f43

Please sign in to comment.