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