chore: 让 easyconnect 专属的参数不给进去

This commit is contained in:
Chenx Dust
2026-08-23 01:29:06 +08:00
parent b1b130e296
commit d2353e45c0
6 changed files with 97 additions and 29 deletions

View File

@@ -16,6 +16,11 @@ void DeviceTrust::set(
bool trusted
)
{
if (protocol != "atrust")
{
throw std::runtime_error("授信设备功能仅支持 aTrust");
}
QStringList arguments;
if (!protocol.isEmpty())
{