From c372173f69687e5026b8aa5991f7b3caea0c56c5 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期四, 25 十一月 2021 14:25:54 +0800
Subject: [PATCH] bug修复

---
 vue.config.js                                 |    2 +-
 src/pages/settings/components/LoraGateway.vue |    1 +
 src/pages/settings/components/WifiGateway.vue |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/pages/settings/components/LoraGateway.vue b/src/pages/settings/components/LoraGateway.vue
index c4a7643..cfce9b1 100644
--- a/src/pages/settings/components/LoraGateway.vue
+++ b/src/pages/settings/components/LoraGateway.vue
@@ -135,6 +135,7 @@
     async getList() {
       const res = await getLora();
       console.log(res);
+      this.loraForm = res.data;
     },
     async saveList() {
       //  this.loraForm.powerRate = `${this.loraForm.powerRate}`;
diff --git a/src/pages/settings/components/WifiGateway.vue b/src/pages/settings/components/WifiGateway.vue
index 6c1ec72..b3dfbad 100644
--- a/src/pages/settings/components/WifiGateway.vue
+++ b/src/pages/settings/components/WifiGateway.vue
@@ -220,6 +220,7 @@
     async getlist() {
       const res = await getWifi();
       console.log(res);
+      this.wifiForm = res.data;
     },
 
     async saveList() {
diff --git a/vue.config.js b/vue.config.js
index f4b88d8..ff033e6 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -93,7 +93,7 @@
       },
       "/data/api-v/app/findAllApp": {
         // target: '/',
-        target: "http://localhost:8080/",
+        target: "http://localhost:8081/",
         changeOrigin: true,
         pathRewrite: {
           "^/data/api-v/app/findAllApp": "apps.json",

--
Gitblit v1.8.0