Feature: add aliyun oss options

ISSUES CLOSED: #347
This commit is contained in:
Molunerfinn
2019-12-27 10:47:33 +08:00
parent 1b3522e536
commit a33f1adeb3
4 changed files with 13 additions and 6 deletions

View File

@@ -48,6 +48,11 @@
>
<el-input v-model="form.path" @keyup.native.enter="confirm" placeholder="例如img/"></el-input>
</el-form-item>
<el-form-item
label="设定网址后缀"
>
<el-input v-model="form.options" @keyup.native.enter="confirm" placeholder="例如?x-oss-process=xxx"></el-input>
</el-form-item>
<el-form-item
label="设定自定义域名"
>
@@ -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

View File

@@ -202,6 +202,7 @@ interface IAliYunConfig {
area: string,
path: string,
customUrl: string
options: string
}
interface IGitHubConfig {