|
@@ -283,20 +283,12 @@ Rectangle {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- // 保留本地的状态更新逻辑(功能必要)
|
|
|
|
|
- onVisibleChanged: {
|
|
|
|
|
- if (visible) {
|
|
|
|
|
- InteractiveCAN.updateKeyAndLockStatus();
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
Rectangle {
|
|
Rectangle {
|
|
|
width: stackLayout.width
|
|
width: stackLayout.width
|
|
|
height: stackLayout.height
|
|
height: stackLayout.height
|
|
|
color: "transparent"
|
|
color: "transparent"
|
|
|
|
|
|
|
|
- // 保留本地的 Rectangle 容器(满足居中排版需求)+ 整合远程的状态更新逻辑
|
|
|
|
|
onVisibleChanged: {
|
|
onVisibleChanged: {
|
|
|
InteractiveCAN.updateKeyAndLockStatus();
|
|
InteractiveCAN.updateKeyAndLockStatus();
|
|
|
}
|
|
}
|