From 804ab2e49387697c25eda983e7ece3b92bcff56e Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期五, 10 六月 2022 14:53:38 +0800
Subject: [PATCH] 摄像机数量改成授权数量

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