Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

feat: Add remove EXIF button #554

Merged
merged 3 commits into from
Jun 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/store/modules/option.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const keys = [
'blog_url',
'developer_mode',
'attachment_upload_image_preview_enable',
'attachment_EXIF_remove_enable',
'attachment_upload_max_parallel_uploads',
'attachment_upload_max_files',
'sheet_prefix',
Expand Down
3 changes: 3 additions & 0 deletions src/views/system/optiontabs/AttachmentTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<a-form-model-item label="上传图片时预览:">
<a-switch v-model="options.attachment_upload_image_preview_enable" />
</a-form-model-item>
<a-form-model-item label="去除图片 EXIF 信息:">
<a-switch v-model="options.attachment_EXIF_remove_enable" />
</a-form-model-item>
<a-form-model-item label="最大上传文件数:">
<a-input-number v-model="options.attachment_upload_max_files" :min="1" style="width: 100%" />
</a-form-model-item>
Expand Down