From d54ab2733c77c9938860504a74d82d392ad14ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Sat, 18 Sep 2021 17:04:25 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E7=AE=80=E5=8C=96=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/oss/config.vue | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) 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: {