diff --git a/ruoyi-ui/src/views/system/oss/config.vue b/ruoyi-ui/src/views/system/oss/config.vue index f3e33407c..04363f9d4 100644 --- a/ruoyi-ui/src/views/system/oss/config.vue +++ b/ruoyi-ui/src/views/system/oss/config.vue @@ -23,10 +23,10 @@ @@ -149,10 +149,10 @@ {{dict.dictLabel}} + v-for="dict in dict.type.sys_yes_no" + :key="dict.value" + :label="dict.value" + >{{dict.label}} @@ -183,6 +183,7 @@ import { export default { name: "OssConfig", + dicts: ['sys_yes_no', 'sys_normal_disable'], data() { return { // 按钮loading @@ -275,12 +276,6 @@ export default { }, created() { this.getList(); - this.getDicts("sys_yes_no").then(response => { - this.isHttpsOptions = response.data; - }); - this.getDicts("sys_normal_disable").then(response => { - this.statusOptions = response.data; - }); this.configKeyOptions = this.configKeyDatas; }, methods: {