From 422aa5276304f5c88b455844bbb57256a66c1c04 Mon Sep 17 00:00:00 2001 From: Molunerfinn Date: Fri, 6 Apr 2018 22:18:57 +0800 Subject: [PATCH] Added: display default picbed --- src/datastore/pic-bed.js | 24 +++++++++++++++++++ .../components/SettingView/Upload.vue | 15 ++++++++++-- 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 src/datastore/pic-bed.js diff --git a/src/datastore/pic-bed.js b/src/datastore/pic-bed.js new file mode 100644 index 0000000..42d61e5 --- /dev/null +++ b/src/datastore/pic-bed.js @@ -0,0 +1,24 @@ +const picBed = [ + { + title: '微博图床', + value: 'weibo' + }, + { + title: '七牛云', + value: 'qiniu' + }, + { + title: '腾讯COS', + value: 'tcyun' + }, + { + title: '又拍云', + value: 'upyun' + }, + { + title: 'GitHub图床', + value: 'github' + } +] + +export default picBed diff --git a/src/renderer/components/SettingView/Upload.vue b/src/renderer/components/SettingView/Upload.vue index 562491b..42ed2b4 100644 --- a/src/renderer/components/SettingView/Upload.vue +++ b/src/renderer/components/SettingView/Upload.vue @@ -3,7 +3,7 @@
- 图片上传 + 图片上传 - {{ picBed }}