From a3f357e8a60443b74b64c7479113c68eb35ce1f5 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期五, 15 七月 2022 19:44:57 +0800 Subject: [PATCH] 控制轮询 --- 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