diff --git a/src/views/system/OptionForm.vue b/src/views/system/OptionForm.vue
index 2e5196d4..c8de3fac 100644
--- a/src/views/system/OptionForm.vue
+++ b/src/views/system/OptionForm.vue
@@ -335,41 +335,41 @@
v-show="options.attachment_type === 'ALIOSS'"
>
-
+
HTTPS
HTTP
-
+
-
+
-
+
@@ -379,41 +379,41 @@
v-show="options.attachment_type === 'BAIDUBOS'"
>
-
+
HTTPS
HTTP
-
+
-
+
-
+
@@ -423,45 +423,45 @@
v-show="options.attachment_type === 'TENCENTCOS'"
>
-
+
HTTPS
HTTP
-
+
-
+
@@ -852,28 +852,28 @@ export default {
}
break
case 'ALIOSS':
- if (!this.options.oss_aliyun_bucket_name) {
+ if (!this.options.oss_ali_bucket_name) {
this.$notification['error']({
message: '提示',
description: 'Bucket 不能为空!'
})
return
}
- if (!this.options.oss_aliyun_endpoint) {
+ if (!this.options.oss_ali_endpoint) {
this.$notification['error']({
message: '提示',
description: 'EndPoint(地域节点) 不能为空!'
})
return
}
- if (!this.options.oss_aliyun_access_key) {
+ if (!this.options.oss_ali_access_key) {
this.$notification['error']({
message: '提示',
description: 'Access Key 不能为空!'
})
return
}
- if (!this.options.oss_aliyun_access_secret) {
+ if (!this.options.oss_ali_access_secret) {
this.$notification['error']({
message: '提示',
description: 'Access Secret 不能为空!'
@@ -882,28 +882,28 @@ export default {
}
break
case 'BAIDUBOS':
- if (!this.options.bos_baiduyun_bucket_name) {
+ if (!this.options.bos_baidu_bucket_name) {
this.$notification['error']({
message: '提示',
description: 'Bucket 不能为空!'
})
return
}
- if (!this.options.bos_baiduyun_endpoint) {
+ if (!this.options.bos_baidu_endpoint) {
this.$notification['error']({
message: '提示',
description: 'EndPoint(地域节点) 不能为空!'
})
return
}
- if (!this.options.bos_baiduyun_access_key) {
+ if (!this.options.bos_baidu_access_key) {
this.$notification['error']({
message: '提示',
description: 'Access Key 不能为空!'
})
return
}
- if (!this.options.bos_baiduyun_secret_key) {
+ if (!this.options.bos_baidu_secret_key) {
this.$notification['error']({
message: '提示',
description: 'Secret Key 不能为空!'
@@ -912,28 +912,28 @@ export default {
}
break
case 'TENCENTCOS':
- if (!this.options.cos_tencentyun_bucket_name) {
+ if (!this.options.cos_tencent_bucket_name) {
this.$notification['error']({
message: '提示',
description: 'Bucket 不能为空!'
})
return
}
- if (!this.options.cos_tencentyun_region) {
+ if (!this.options.cos_tencent_region) {
this.$notification['error']({
message: '提示',
description: '区域不能为空!'
})
return
}
- if (!this.options.cos_tencentyun_secret_id) {
+ if (!this.options.cos_tencent_secret_id) {
this.$notification['error']({
message: '提示',
description: 'Secret Id 不能为空!'
})
return
}
- if (!this.options.cos_tencentyun_secret_key) {
+ if (!this.options.cos_tencent_secret_key) {
this.$notification['error']({
message: '提示',
description: 'Secret Key 不能为空!'