Browse Source

feat: Add remove EXIF button (#554)

* Update AttachmentTab.vue

* Update option.js

* Update src/views/system/optiontabs/AttachmentTab.vue

Co-authored-by: Ryan Wang <i@ryanc.cc>

Co-authored-by: Ryan Wang <i@ryanc.cc>
pull/584/head
SladeGranger 2 years ago committed by GitHub
parent
commit
63f9ad30bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/store/modules/option.js
  2. 3
      src/views/system/optiontabs/AttachmentTab.vue

1
src/store/modules/option.js

@ -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',

3
src/views/system/optiontabs/AttachmentTab.vue

@ -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>

Loading…
Cancel
Save