调整C++ 代码

This commit is contained in:
2024-05-28 18:38:11 +08:00
parent 9c252dd8d8
commit de31b79465
16 changed files with 109 additions and 88 deletions

View File

@@ -35,7 +35,8 @@ export struct HomePage {
TabContent() {
TabView2();
}.tabBar("View2")
}.onChange((index) => {
}.barOverlap(true)
.onChange((index) => {
if (index == 0) {
this.tv1ViewModel.onViewShow();
this.tv2ViewModel.onViewHide();