调整C++ 代码
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user