From f16fa7bddfcc4260144b1e4709751ad291fbc5f8 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期四, 25 十一月 2021 14:38:13 +0800
Subject: [PATCH] Merge branch 'bhomebus' of http://192.168.5.5:10010/r/web/vue-smart-ai into bhomebus

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