HarmonyOS应用开发-eTS-Navigator组件练习
说明:路由容器组件,提供路由跳转能力。接口:Navigator(value:{target:string,type:NavigationType})接口参数:属性:案例:创建新的ets代码示例:index.ets:EntryComponentstructIndex{Stateactive:booleanfalseStateText:string'next'build(){Flex({direction:FlexDirection.Column,alignItems:ItemAlign.Start,justifyContent:FlexAlign.SpaceBetween}){Navigator({target:'pagesnext',type:NavigationType.Push}){Text('...