From f6caf2b0a4502f2ba888b58a88ff7c7e409e40d0 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期日, 31 七月 2022 15:05:05 +0800 Subject: [PATCH] 将put修改为post --- 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