From 1655a625e3c4791b2a25ffa4555433ad7dc65b07 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 23 三月 2022 23:36:18 +0800 Subject: [PATCH] 限制不允许修改basic用户权限 --- src/pages/settings/components/WifiGateway.vue | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/pages/settings/components/WifiGateway.vue b/src/pages/settings/components/WifiGateway.vue index 13086cf..b3dfbad 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); }, -- Gitblit v1.8.0