From f74166b3ed257a5e7f463019de3a7a90dae69c2b Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 22 十一月 2022 10:33:45 +0800 Subject: [PATCH] 调整比对库代码,处理选中bug --- src/pages/settings/components/WifiGateway.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/pages/settings/components/WifiGateway.vue b/src/pages/settings/components/WifiGateway.vue index 13086cf..e68fa7d 100644 --- a/src/pages/settings/components/WifiGateway.vue +++ b/src/pages/settings/components/WifiGateway.vue @@ -220,9 +220,11 @@ async getlist() { const res = await getWifi(); console.log(res); + this.wifiForm = res.data; }, async saveList() { + this.wifiForm.powerRate = `${this.wifiForm.powerRate}`; const res = await saveWifi(this.wifiForm); console.log(res); }, @@ -245,7 +247,7 @@ margin: 0 auto; padding-left: 20px; height: 56px; - width: 450px; + // width: 450px; line-height: 56px; font-weight: bold; font-size: 14px; -- Gitblit v1.8.0