tab切换刷新
This commit is contained in:
@@ -14,8 +14,8 @@ export struct ListComp {
|
||||
list: ItemModel[] = []
|
||||
controller = new HdListController()
|
||||
scroller: Scroller = new Scroller()
|
||||
@Consume@Watch('gotoTop')
|
||||
toTop:boolean;
|
||||
// @Consume@Watch('gotoTop')
|
||||
// toTop:boolean;
|
||||
@State
|
||||
page: number = 1
|
||||
@State
|
||||
|
||||
@@ -12,8 +12,8 @@ export struct ListCompGandan {
|
||||
@State isEmptyViewVisible: boolean = false; // 控制显隐的状态变量
|
||||
@Prop@Watch('onUpdate') sort:string='2'
|
||||
|
||||
@Consume@Watch('gotoTop')
|
||||
toTop:boolean;
|
||||
// @Consume@Watch('gotoTop')
|
||||
// toTop:boolean;
|
||||
@Prop@Watch('onUpdate')
|
||||
type_uuid:string=''
|
||||
@Prop@Watch('onUpdate') keywords:string=''
|
||||
|
||||
@@ -17,8 +17,8 @@ export struct HomePage {
|
||||
@State homeData:dataModel = {} as dataModel;
|
||||
@State navAlpha: number = 0;
|
||||
@State navBackColor: string = 'FFFFFF'
|
||||
@Consume@Watch('gotoTop')
|
||||
toTop:boolean;
|
||||
// @Consume@Watch('gotoTop')
|
||||
// toTop:boolean;
|
||||
@State hintMessage:string = '';
|
||||
@State signData:Record<string,string> = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user