From feaf0a9778879ef211c5587a513ba4cbdabb52d0 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期四, 23 六月 2022 17:42:58 +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