From fba62dc2c07c5e5fc079a1c694b4925182424c3a Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 8 May 2024 16:11:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=9B=B4=E6=94=B9=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E7=B3=BB=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/enm_base/settings/calculate.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/enm_base/settings/calculate.vue b/src/views/enm_base/settings/calculate.vue index 92788481..0741ddb6 100644 --- a/src/views/enm_base/settings/calculate.vue +++ b/src/views/enm_base/settings/calculate.vue @@ -34,11 +34,18 @@ export default { }, }; }, - mounted() {}, + mounted() { + this.getSysConfig(); + }, methods: { + getSysConfig() { + this.$API.system.config.getInfo.req().then((res) => { + this.form = res.enm; + }); + }, submitForm() { this.saveLoading = true; - this.$API.system.config.update + this.$API.system.config.updateInfo .req(this.form) .then((res) => { this.saveLoading = false;