From dff9fb32c1bac52d378a6d196f670b92610c01d3 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期四, 16 十二月 2021 17:21:49 +0800
Subject: [PATCH] 自适应2

---
 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