From 1776a6bd2cd07a3c6e5b4fc71ccd133a1181141f Mon Sep 17 00:00:00 2001 From: Jerry Date: Sat, 12 Jul 2025 00:07:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9api=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/pages/ConfigPage.jsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/frontend/src/pages/ConfigPage.jsx b/src/frontend/src/pages/ConfigPage.jsx index 9db0eb0..c78c996 100644 --- a/src/frontend/src/pages/ConfigPage.jsx +++ b/src/frontend/src/pages/ConfigPage.jsx @@ -128,10 +128,8 @@ const ConfigPage = () => { }); return false; } - commands.push({ - username: deviceConfig.username, - password: deviceConfig.password, - }); + commands.push(`username=${deviceConfig.username.toString()}`); + commands.push(`password=${deviceConfig.password.toString()}`); await api.applyConfig(selectedDevice, commands); } };