diff --git a/package.json b/package.json index fab46f5..c52b58d 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "keycode": "^2.2.0", "lodash-id": "^0.14.0", "lowdb": "^1.0.0", - "picgo": "^1.4.2", + "picgo": "^1.4.3", "vue": "^2.6.10", "vue-gallery": "^2.0.1", "vue-lazyload": "^1.2.6", diff --git a/src/renderer/pages/picbeds/AliYun.vue b/src/renderer/pages/picbeds/AliYun.vue index 5d666be..b82e2c7 100644 --- a/src/renderer/pages/picbeds/AliYun.vue +++ b/src/renderer/pages/picbeds/AliYun.vue @@ -48,6 +48,11 @@ > + + + @@ -78,7 +83,8 @@ export default class extends Vue { bucket: '', area: '', path: '', - customUrl: '' + customUrl: '', + options: '' } created () { const config = this.$db.get('picBed.aliyun') as IAliYunConfig diff --git a/src/universal/types/types.d.ts b/src/universal/types/types.d.ts index d37a7d9..f6965c3 100644 --- a/src/universal/types/types.d.ts +++ b/src/universal/types/types.d.ts @@ -202,6 +202,7 @@ interface IAliYunConfig { area: string, path: string, customUrl: string + options: string } interface IGitHubConfig { diff --git a/yarn.lock b/yarn.lock index a955526..d305645 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8276,10 +8276,10 @@ performance-now@^2.1.0: resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= -picgo@^1.4.2: - version "1.4.2" - resolved "https://registry.npm.taobao.org/picgo/download/picgo-1.4.2.tgz#3a9ca1fb3c7c51c0b94036eac95a842bb022a5dc" - integrity sha1-Opyh+zx8UcC5QDbqyVqEK7Aipdw= +picgo@^1.4.3: + version "1.4.3" + resolved "https://registry.npm.taobao.org/picgo/download/picgo-1.4.3.tgz#6c3140d21415d96489a784c155d8d45b6a91adb5" + integrity sha1-bDFA0hQV2WSJp4TBVdjUW2qRrbU= dependencies: chalk "^2.4.1" commander "^2.17.0"