diff --git a/src/views/system/OptionForm.vue b/src/views/system/OptionForm.vue
index 6b0763664..bf954f6df 100644
--- a/src/views/system/OptionForm.vue
+++ b/src/views/system/OptionForm.vue
@@ -376,11 +376,17 @@
+
+
+
+
+
+
-
+
-
+
北京一区
北京
上海(华东)
@@ -479,19 +497,13 @@
label="Secret Id:"
:wrapper-col="wrapperCol"
>
-
+
-
-
-
-
+
@@ -872,58 +884,58 @@ export default {
}
break
case 'BAIDUYUN':
- if (!this.options.oss_baiduyun_bucket_name) {
+ if (!this.options.bos_baiduyun_bucket_name) {
this.$notification['error']({
message: '提示',
description: 'Bucket 不能为空!'
})
return
}
- if (!this.options.oss_baiduyun_endpoint) {
+ if (!this.options.bos_baiduyun_endpoint) {
this.$notification['error']({
message: '提示',
description: 'EndPoint(地域节点) 不能为空!'
})
return
}
- if (!this.options.oss_baiduyun_access_key) {
+ if (!this.options.bos_baiduyun_access_key) {
this.$notification['error']({
message: '提示',
description: 'Access Key 不能为空!'
})
return
}
- if (!this.options.oss_baiduyun_access_secret) {
+ if (!this.options.bos_baiduyun_secret_key) {
this.$notification['error']({
message: '提示',
- description: 'Access Secret 不能为空!'
+ description: 'Secret Key 不能为空!'
})
return
}
break
case 'TENCENTYUN':
- if (!this.options.oss_tencentyun_bucket_name) {
+ if (!this.options.cos_tencentyun_bucket_name) {
this.$notification['error']({
message: '提示',
description: 'Bucket 不能为空!'
})
return
}
- if (!this.options.oss_tencentyun_region) {
+ if (!this.options.cos_tencentyun_region) {
this.$notification['error']({
message: '提示',
description: '区域不能为空!'
})
return
}
- if (!this.options.oss_tencentyun_access_key) {
+ if (!this.options.cos_tencentyun_secret_id) {
this.$notification['error']({
message: '提示',
description: 'Secret Id 不能为空!'
})
return
}
- if (!this.options.oss_tencentyun_access_secret) {
+ if (!this.options.cos_tencentyun_secret_key) {
this.$notification['error']({
message: '提示',
description: 'Secret Key 不能为空!'