tab切换刷新

This commit is contained in:
XiuYun CHEN
2025-07-31 11:58:34 +08:00
parent 7d5a604665
commit 7618c0337d
20 changed files with 232 additions and 122 deletions
@@ -36,8 +36,8 @@ export struct HeaderView {
@Prop heroArray:Array<object> = [];
@Prop expertData:object | string= new Object;
@State clickHeroId:string = '';
@Consume@Watch('gotoTop')
toTop:boolean;
// @Consume@Watch('gotoTop')
// toTop:boolean;
private scrollerForList: Scroller = new Scroller()
dialogController: CustomDialogController = new CustomDialogController({
@@ -20,8 +20,8 @@ interface requestCallBack {
export struct OneSection {
@State sectionTitle: string = "随访服务";
@State currentIndex: number = 0;
@Consume@Watch('gotoTop')
toTop:boolean;
// @Consume@Watch('gotoTop')
// toTop:boolean;
@State oneSectionList: Array<MyPageSectionClass> = [
new MyPageSectionClass('oneItem', $r('app.media.my_page_patientAudit'), '患者审核', 'pages/PatientsPage/PatientPages',false),