From 1b64cf4875aa137dedda988ad8d721a11ee3fd26 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期二, 31 五月 2022 13:31:02 +0800 Subject: [PATCH] 应用中心bug修复 --- src/pages/settings/components/LoraGateway.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/pages/settings/components/LoraGateway.vue b/src/pages/settings/components/LoraGateway.vue index f6720ed..cfce9b1 100644 --- a/src/pages/settings/components/LoraGateway.vue +++ b/src/pages/settings/components/LoraGateway.vue @@ -135,8 +135,12 @@ async getList() { const res = await getLora(); console.log(res); + this.loraForm = res.data; }, async saveList() { + // this.loraForm.powerRate = `${this.loraForm.powerRate}`; + this.loraForm.hz = `${this.loraForm.hz}`; + // this.loraForm.workMode = `${this.loraForm.workMode}`; const res = await saveLora(this.loraForm); console.log(res); }, -- Gitblit v1.8.0